From 27d82e97625ba4e1b7ba4d5d98ec1c0d6972c5c7 Mon Sep 17 00:00:00 2001 From: Clownacy Date: Thu, 5 Mar 2020 00:04:47 +0000 Subject: [PATCH] Set STB_IMAGE_STATIC Reduce global namespace clutter. ...Man, I wish other single-header-file libs had an option like this - this is a big part of why the new miniaudio backend's been causing so many problems lately. --- src/Bitmap.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Bitmap.cpp b/src/Bitmap.cpp index 25465184..ec5609b5 100644 --- a/src/Bitmap.cpp +++ b/src/Bitmap.cpp @@ -3,6 +3,7 @@ #include #define STB_IMAGE_IMPLEMENTATION +#define STB_IMAGE_STATIC #define STBI_ONLY_BMP #define STBI_NO_LINEAR #include "stb_image.h"