diff --git a/src/odoors/OpenDoor.h b/src/odoors/OpenDoor.h
index f7036b632e0dc9d293272d3e4d4cdccad9d7a56f..c8906d1e153b98458ac2f0a4c72ee239a43fcbb1 100644
--- a/src/odoors/OpenDoor.h
+++ b/src/odoors/OpenDoor.h
@@ -188,7 +188,7 @@ typedef char               CHAR;         /* Native character representation. */
 
 typedef signed char        INT8;                          /* Signed, 8 bits. */
 typedef signed short int   INT16;                        /* Signed, 16 bits. */
-#ifndef _WIN32	/* avoid type redefinition from basetsd.h */
+#ifndef ODPLAT_WIN32	/* avoid type redefinition from basetsd.h */
 typedef signed long int    INT32;                        /* Signed, 32 bits. */
 #endif