summaryrefslogtreecommitdiff
path: root/include/SDL_stdinc.h
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2016-10-07 16:44:42 -0700
committerSam Lantinga <slouken@libsdl.org>2016-10-07 16:44:42 -0700
commitbe00b37730ddd5d4472b434210578e7c4ba63f33 (patch)
treedd32005dd755feb6b0b253678797660a7a39367f /include/SDL_stdinc.h
parent93f2950933def5818b4dd32a56e513baf0c97cb4 (diff)
downloadsdl-be00b37730ddd5d4472b434210578e7c4ba63f33.tar.gz
Fixed bug 2885 - SDL_stdinc.h doesn't need to include iconv.h
Ryan C. Gordon We still include iconv.h in SDL_stdinc.h, probably because this header might have referenced the native iconv functions and types directly. Since these are hidden behind a stable ABI now and never just a #define for the system iconv, we shouldn't need this header included from a public SDL header anymore, slowing down external apps compiles and pulling tons of stuff into the namespace.
Diffstat (limited to 'include/SDL_stdinc.h')
-rw-r--r--include/SDL_stdinc.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/SDL_stdinc.h b/include/SDL_stdinc.h
index 02c9e1399..fdf96415f 100644
--- a/include/SDL_stdinc.h
+++ b/include/SDL_stdinc.h
@@ -83,9 +83,6 @@
#ifdef HAVE_FLOAT_H
# include <float.h>
#endif
-#if defined(HAVE_ICONV) && defined(HAVE_ICONV_H)
-# include <iconv.h>
-#endif
/**
* The number of elements in an array.