Skip to content

Commit

Permalink
Update stb_rect_pack.h
Browse files Browse the repository at this point in the history
  • Loading branch information
squid233 authored Jan 29, 2024
1 parent 796a3f8 commit 477c08c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions stb_rect_pack.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,12 @@
#ifdef STBRP_STATIC
#define STBRP_DEF static
#else
#ifdef _MSC_VER
#define STBRP_DEF extern __declspec(dllexport)
#else
#define STBRP_DEF extern
#endif
#endif

#ifdef __cplusplus
extern "C" {
Expand Down

0 comments on commit 477c08c

Please sign in to comment.