Quellcode durchsuchen

Fix WIN32_LEAN_AND_MEAN redefinition

Alex vor 2 Jahren
Ursprung
Commit
081cae6a95
1 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
  1. 3 1
      contrib/openddlparser/code/OpenDDLParser.cpp

+ 3 - 1
contrib/openddlparser/code/OpenDDLParser.cpp

@@ -30,7 +30,9 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 #include <sstream>
 
 #ifdef _WIN32
-#   define WIN32_LEAN_AND_MEAN
+#   ifndef WIN32_LEAN_AND_MEAN
+#     define WIN32_LEAN_AND_MEAN
+#   endif
 #   include <windows.h>
 #endif // _WIN32