Skip to content

Commit

Permalink
add mingw support (#370)
Browse files Browse the repository at this point in the history
Signed-off-by: U-CW01\uig08771 <[email protected]>
(cherry picked from commit 17f978d)
  • Loading branch information
felixf4xu authored Jun 5, 2024
1 parent 22f59f8 commit 707ac2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rmw/include/rmw/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ typedef enum RMW_PUBLIC_TYPE rmw_qos_durability_policy_e
"RMW_QOS_POLICY_LIVELINESS_MANUAL_BY_NODE is deprecated. " \
"Use RMW_QOS_POLICY_LIVELINESS_MANUAL_BY_TOPIC if manually asserted liveliness is needed."

#ifndef _WIN32
#ifndef _MSC_VER
# define RMW_DECLARE_DEPRECATED(name, msg) name __attribute__((deprecated(msg)))
#else
# define RMW_DECLARE_DEPRECATED(name, msg) name __pragma(deprecated(name))
Expand Down

0 comments on commit 707ac2f

Please sign in to comment.