Browse Source

Fixed compiler warning building on FreeBSD

Sam Lantinga 4 years ago
parent
commit
31916f11aa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/stdlib/SDL_iconv.c

+ 1 - 1
src/stdlib/SDL_iconv.c

@@ -37,7 +37,7 @@
    iconv() may or may not use const char ** for the inbuf param.
    If we get this wrong, it's just a warning, so no big deal.
 */
-#if defined(_XGP6) || defined(__APPLE__) || defined(__RISCOS__) || \
+#if defined(_XGP6) || defined(__APPLE__) || defined(__RISCOS__) || defined(__FREEBSD__) || \
     defined(__EMSCRIPTEN__) || \
     (defined(__GLIBC__) && ((__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)) || \
     (defined(_NEWLIB_VERSION)))