Skip to content

Commit

Permalink
Change platform define
Browse files Browse the repository at this point in the history
Altering the platform define to `__unix__` from `__linux__`. Specifically this means not having to add an additional case when crosscompiling to WebAssembly, and I don't believe we would expect any issues on linux vs unix in our codebase.
  • Loading branch information
RichLogan committed Jan 16, 2024
1 parent 8b0ceb2 commit fe50144
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/gs_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
#include <stddef.h>
#include <stdint.h>

#if defined(__linux__) || defined(__APPLE__)
#if defined(__unix__) || defined(__APPLE__)
#define EXPORT
#define CALL
#elif _WIN32
Expand Down

0 comments on commit fe50144

Please sign in to comment.