Skip to content

Commit 65c9cde

Browse files
committed
clean up _WINDOWS comments
1 parent 4acbc0b commit 65c9cde

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

Core/Tools/WW3D/pluglib/win.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,6 @@ void __cdecl Print_Win32Error(unsigned long win32Error);
8080

8181
#endif // RTS_DEBUG
8282

83-
#else // _WINDOWS
83+
#else // _WIN32
8484
#include <unistd.h>
85-
#endif // _WINDOWS
85+
#endif // _WIN32

Core/Tools/mangler/wlib/sem4.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
#include <semaphore.h>
3030
#else
3131
#include <windows.h>
32-
#endif // _WINDOWS
32+
#endif // _WIN32
3333
#endif // _REENTRANT
3434

3535
// Windows headers have a tendency to redefine IN

Core/Tools/mangler/wlib/wdebug.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ extern CritSec DebugLibSemaphore;
239239
DEBUGUNLOCK; \
240240
}
241241

242-
#else // _WINDOWS
242+
#else // _WIN32
243243

244244
// Print a variable
245245
#define PVAR(v) \
@@ -279,7 +279,7 @@ extern CritSec DebugLibSemaphore;
279279
"]: " << ##X << endl; X \
280280
DEBUGUNLOCK; \
281281
}
282-
#endif // _WINDOWS
282+
#endif // _WIN32
283283

284284
#endif // DEBUG
285285

Core/Tools/mangler/wlib/wtime.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ static struct tm *localtime_r(const time_t *clockval, struct tm *res) {
5454
#endif
5555
return res;
5656
}
57-
#endif // _WINDOWS
57+
#endif // _WIN32
5858

5959
Wtime::Wtime(void)
6060
{

Core/Tools/matchbot/wlib/sem4.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
#include <semaphore.h>
3030
#else
3131
#include <windows.h>
32-
#endif // _WINDOWS
32+
#endif // _WIN32
3333
#endif // _REENTRANT
3434

3535
// Windows headers have a tendency to redefine IN

Core/Tools/matchbot/wlib/wdebug.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ extern CritSec DebugLibSemaphore;
243243
DEBUGUNLOCK; \
244244
}
245245

246-
#else // _WINDOWS
246+
#else // _WIN32
247247

248248
// Print a variable
249249
#define PVAR(v) \
@@ -283,7 +283,7 @@ extern CritSec DebugLibSemaphore;
283283
"]: " << ##X << endl; X \
284284
DEBUGUNLOCK; \
285285
}
286-
#endif // _WINDOWS
286+
#endif // _WIN32
287287

288288
#endif // DEBUG
289289

Core/Tools/matchbot/wlib/wtime.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ static struct tm *localtime_r(const time_t *clockval, struct tm *res) {
5454
#endif
5555
return res;
5656
}
57-
#endif // _WINDOWS
57+
#endif // _WIN32
5858

5959
Wtime::Wtime(void)
6060
{

0 commit comments

Comments
 (0)