Skip to content

Commit

Permalink
Define STDCALL if not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
uyjulian committed Aug 7, 2023
1 parent e401a13 commit 3fdba5f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tjs2/tjsTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,14 @@ typedef uintptr_t tjs_uintptr_t;
#define TJS_W(X) L##X
#endif

#ifndef STDCALL
#ifdef _WIN32
#define STDCALL __stdcall
#else
#define STDCALL
#endif
#endif

#endif /* end of defined(_WIN32) && !defined(__GNUC__) */
/*]*/

Expand Down

0 comments on commit 3fdba5f

Please sign in to comment.