mirror of
https://github.com/nothings/stb
synced 2025-03-14 16:21:12 -04:00
Changed many functions to inline to fix compiling issues when including from a header file.
This commit is contained in:
parent
59a5a155b4
commit
ac4090d15d
@ -400,9 +400,9 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef STB_IMAGE_STATIC
|
||||
#define STBIDEF static
|
||||
#define STBIDEF inline static
|
||||
#else
|
||||
#define STBIDEF extern
|
||||
#define STBIDEF inline extern
|
||||
#endif
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user