Skip to content

Commit

Permalink
Only include resource.h when building for Windows
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Kitt <[email protected]>
  • Loading branch information
skitt committed Sep 17, 2023
1 parent 7d38522 commit 770411f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gamelink/gamelink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
#include "gamelink.h"
#include "logging.h"
#include "sdlmain.h"
#ifdef WIN32
#include "../resource.h"
#endif

// External Dependencies
#ifdef WIN32
Expand Down
2 changes: 2 additions & 0 deletions src/gamelink/gamelink_term.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
#include "dosbox.h"
#include "gamelink.h"
#include "sdlmain.h"
#ifdef WIN32
#include "../resource.h"
#endif
#include <stdio.h>
#include "mem.h"

Expand Down

0 comments on commit 770411f

Please sign in to comment.