ros / roscpp_core

ros distribution sandbox
89 stars 116 forks source link

use _WIN32 for platform detection #110

Closed kejxu closed 5 years ago

kejxu commented 5 years ago

as discussed in https://github.com/ros/roscpp_core/issues/108, WIN32 is only introduced by windows.h, it is better to use _WIN32 defined by the Visual Studio compiler for platform detection

dirk-thomas commented 5 years ago

Thanks for the patch.