From bcd82900c7afb765cb27573104a3d445d3559485 Mon Sep 17 00:00:00 2001 From: "H. Utku Maden" Date: Wed, 19 Jun 2024 12:19:33 +0300 Subject: [PATCH] Add STBIWDEF as RFEXTERN to build C file. --- ReFuel.StbImage.csproj | 2 +- rf_stbi.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ReFuel.StbImage.csproj b/ReFuel.StbImage.csproj index 9c8708d..979bfbc 100644 --- a/ReFuel.StbImage.csproj +++ b/ReFuel.StbImage.csproj @@ -13,7 +13,7 @@ True ReFuel.StbImage - 2.0-rc.2 + 2.0-rc.3 STBI Authors, H. Utku Maden A C# wrapper for the ubiquitous stb_image.h and stb_image_write.h library. diff --git a/rf_stbi.h b/rf_stbi.h index bdeeee3..1f7c408 100644 --- a/rf_stbi.h +++ b/rf_stbi.h @@ -7,6 +7,7 @@ #define STBI_NO_THREAD_LOCALS 1 #include "stb/stb_image.h" +#define STBIWDEF RFEXTERN #define STBI_WRITE_NO_STDIO 1 #include "stb/stb_image_write.h"