Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
squid233 committed Jan 6, 2024
1 parent 48ff4b6 commit ac4f4f3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stb.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#define STB_IMAGE_IMPLEMENTATION
#include "stb_image.h"
#define STB_IMAGE_RESIZE_IMPLEMENTATION
#include "stb_image_resize.h"
#include "stb_image_resize2.h"
#define STB_IMAGE_WRITE_IMPLEMENTATION
#include "stb_image_write.h"
#define STB_PERLIN_IMPLEMENTATION
Expand Down
8 changes: 8 additions & 0 deletions stb_image_resize2.h
Original file line number Diff line number Diff line change
Expand Up @@ -425,12 +425,20 @@ typedef uint64_t stbir_uint64;
#define STBIRDEF static
#else
#ifdef __cplusplus
#ifdef _MSC_VER
#define STBIRDEF extern "C" __declspec(dllexport)
#else
#define STBIRDEF extern "C"
#endif
#else
#ifdef _MSC_VER
#define STBIRDEF extern __declspec(dllexport)
#else
#define STBIRDEF extern
#endif
#endif
#endif
#endif

//////////////////////////////////////////////////////////////////////////////
//// start "header file" ///////////////////////////////////////////////////
Expand Down

0 comments on commit ac4f4f3

Please sign in to comment.