Skip to content

Commit

Permalink
define DEPRECATED only if not defined already
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk-thomas committed Feb 15, 2013
1 parent a8eaa1c commit 96db3d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/actionlib/client/simple_action_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,13 @@
#include "actionlib/client/terminal_state.h"


#ifndef DEPRECATED
#if defined(__GNUC__)
#define DEPRECATED __attribute__((deprecated))
#else
#define DEPRECATED
#endif
#endif


namespace actionlib
Expand Down

0 comments on commit 96db3d4

Please sign in to comment.