-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update guard against common Windows preprocessor definitions (#401)
* Update guard against common Windows preprocessor definitions Rather than undefining unconditionally at the top of the file, only undefine if a constant by one of the common names is defined. Also, redefine the macro after the constant has been declared using the pragma push_macro and pop_macro. Suppress a potential warning for popping a macro that was not previously pushed. Signed-off-by: Jacob Perron <jacob@openrobotics.org> * Guard against DELETE being predefined on Windows Motivated by build errors encountered building visualization_msgs/msg/Marker.msg. Signed-off-by: Jacob Perron <jacob@openrobotics.org>
- Loading branch information
1 parent
36bc907
commit c488b81
Showing
1 changed file
with
33 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters