Skip to content

Commit 2e119cc

Browse files
committed
Fix include order for VC6 precompiled headers
1 parent e2a07c4 commit 2e119cc

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Generals/Code/GameEngineDevice/Source/W3DDevice/GameClient/W3DScreenshot.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@
2020
#include <windows.h>
2121
#include <io.h>
2222

23-
#define STB_IMAGE_WRITE_IMPLEMENTATION
24-
#include <stb_image_write.h>
25-
2623
#include "W3DDevice/GameClient/W3DScreenshot.h"
2724
#include "Common/GlobalData.h"
2825
#include "GameClient/InGameUI.h"
2926
#include "GameClient/GameText.h"
3027
#include "WW3D2/dx8wrapper.h"
3128
#include "WW3D2/surface.h"
3229

30+
#define STB_IMAGE_WRITE_IMPLEMENTATION
31+
#include <stb_image_write.h>
32+
3333
struct ScreenshotThreadData
3434
{
3535
unsigned char* imageData;

GeneralsMD/Code/GameEngineDevice/Source/W3DDevice/GameClient/W3DScreenshot.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@
2020
#include <windows.h>
2121
#include <io.h>
2222

23-
#define STB_IMAGE_WRITE_IMPLEMENTATION
24-
#include <stb_image_write.h>
25-
2623
#include "W3DDevice/GameClient/W3DScreenshot.h"
2724
#include "Common/GlobalData.h"
2825
#include "GameClient/InGameUI.h"
2926
#include "GameClient/GameText.h"
3027
#include "WW3D2/dx8wrapper.h"
3128
#include "WW3D2/surface.h"
3229

30+
#define STB_IMAGE_WRITE_IMPLEMENTATION
31+
#include <stb_image_write.h>
32+
3333
struct ScreenshotThreadData
3434
{
3535
unsigned char* imageData;

0 commit comments

Comments
 (0)