Skip to content

Commit

Permalink
allow to be built with -c as an independent compile unit
Browse files Browse the repository at this point in the history
  • Loading branch information
Moros1138 committed Sep 10, 2024
1 parent f9a8a33 commit 29fd9a3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions olcPGEX_Gamepad.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ few problems

#endif

#ifdef __EMSCRIPTEN__
#include <emscripten.h>
#include <emscripten/html5.h>
#endif

namespace olc {
#pragma region Enums
#define GP_BUTTON_COUNT 18
Expand Down

0 comments on commit 29fd9a3

Please sign in to comment.