Skip to content

Commit 6d16e28

Browse files
committed
- further fix to avoid compiler warnings
- removed whitespaces
1 parent 286dfde commit 6d16e28

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

PythonScript.Tests/stdafx.h

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@
2929
#define WINVER 0x0501 // Change this to the appropriate value to target other versions of Windows.
3030
#endif
3131

32-
#ifndef _WIN32_WINNT // Allow use of features specific to Windows XP or later.
32+
#ifndef _WIN32_WINNT // Allow use of features specific to Windows XP or later.
3333
#define _WIN32_WINNT 0x0501 // Change this to the appropriate value to target other versions of Windows.
34-
#endif
34+
#endif
3535

3636
#ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later.
3737
#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later.
@@ -42,7 +42,9 @@
4242
#endif
4343

4444
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
45+
#ifndef NOMINMAX
4546
#define NOMINMAX
47+
#endif
4648
// Windows Header Files:
4749
#include <windows.h>
4850
#include <shlwapi.h>
@@ -52,10 +54,10 @@
5254
#ifdef _DEBUG
5355
#define _CRTDBG_MAP_ALLOC
5456
#include <crtdbg.h>
55-
#ifndef DBG_NEW
56-
#define DBG_NEW new ( _NORMAL_BLOCK , __FILE__ , __LINE__ )
57-
#define new DBG_NEW
58-
#endif
57+
#ifndef DBG_NEW
58+
#define DBG_NEW new ( _NORMAL_BLOCK , __FILE__ , __LINE__ )
59+
#define new DBG_NEW
60+
#endif
5961

6062
#endif
6163

PythonScript/src/stdafx.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
#define WINVER 0x0501 // Change this to the appropriate value to target other versions of Windows.
1212
#endif
1313

14-
#ifndef _WIN32_WINNT // Allow use of features specific to Windows XP or later.
14+
#ifndef _WIN32_WINNT // Allow use of features specific to Windows XP or later.
1515
#define _WIN32_WINNT 0x0501 // Change this to the appropriate value to target other versions of Windows.
16-
#endif
16+
#endif
1717

1818
#ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later.
1919
#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later.
@@ -91,7 +91,7 @@ typedef std::basic_string<TCHAR> tstring;
9191
}\
9292
break
9393
#else
94-
#define NO_DEFAULT_CASE
94+
#define NO_DEFAULT_CASE
9595
#endif
9696

9797
// Index type

0 commit comments

Comments
 (0)