Add GopherJS build constraints
This commit is contained in:
parent
5db89e7c35
commit
9ddb7731e9
32 changed files with 49 additions and 17 deletions
|
@ -1,4 +1,6 @@
|
|||
// +build !js
|
||||
|
||||
// The implementation of mini_al needs to #include windows.h which means it needs to go into
|
||||
// it's own translation unit. Not doing this will cause conflicts with CloseWindow(), etc.
|
||||
#define MAL_IMPLEMENTATION
|
||||
#include "mini_al.h"
|
||||
#include "mini_al.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue