Add STBIWDEF as RFEXTERN to build C file.
All checks were successful
Build / build (push) Successful in 1m35s

This commit is contained in:
H. Utku Maden 2024-06-19 12:19:33 +03:00
parent e759efacf6
commit bcd82900c7
2 changed files with 2 additions and 1 deletions

@ -13,7 +13,7 @@
<!-- Nuget Properties. --> <!-- Nuget Properties. -->
<GeneratePackageOnBuild>True</GeneratePackageOnBuild> <GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<PackageId>ReFuel.StbImage</PackageId> <PackageId>ReFuel.StbImage</PackageId>
<Version>2.0-rc.2</Version> <Version>2.0-rc.3</Version>
<Authors>STBI Authors, H. Utku Maden</Authors> <Authors>STBI Authors, H. Utku Maden</Authors>
<Description> <Description>
A C# wrapper for the ubiquitous stb_image.h and stb_image_write.h library. A C# wrapper for the ubiquitous stb_image.h and stb_image_write.h library.

@ -7,6 +7,7 @@
#define STBI_NO_THREAD_LOCALS 1 #define STBI_NO_THREAD_LOCALS 1
#include "stb/stb_image.h" #include "stb/stb_image.h"
#define STBIWDEF RFEXTERN
#define STBI_WRITE_NO_STDIO 1 #define STBI_WRITE_NO_STDIO 1
#include "stb/stb_image_write.h" #include "stb/stb_image_write.h"