瀏覽代碼

build_configs: remove unused symbols_to_check, added Windows ones

L zard 9 月之前
父節點
當前提交
440d5754f8
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      CMakeLists.txt

+ 4 - 4
CMakeLists.txt

@@ -983,15 +983,15 @@ if(SDL_LIBC)
   set(symbols_to_check
   set(symbols_to_check
     abs acos acosf asin asinf atan atan2 atan2f atanf atof atoi
     abs acos acosf asin asinf atan atan2 atan2f atanf atof atoi
     bcopy
     bcopy
-    calloc ceil ceilf copysign copysignf cos cosf
+    ceil ceilf copysign copysignf cos cosf
     _Exit exp expf
     _Exit exp expf
-    fabs fabsf floor floorf fmod fmodf fopen64 free fseeko fseeko64
+    fabs fabsf floor floorf fmod fmodf fopen64 fseeko fseeko64
     getenv
     getenv
     _i64toa index itoa
     _i64toa index itoa
     log log10 log10f logf lround lroundf _ltoa
     log log10 log10f logf lround lroundf _ltoa
     malloc memcmp memcpy memmove memset modf modff
     malloc memcmp memcpy memmove memset modf modff
     pow powf putenv
     pow powf putenv
-    realloc rindex round roundf
+    rindex round roundf
     scalbn scalbnf setenv sin sinf sqr sqrt sqrtf sscanf strchr
     scalbn scalbnf setenv sin sinf sqr sqrt sqrtf sscanf strchr
     strcmp strlcat strlcpy strlen strncmp strnlen strpbrk
     strcmp strlcat strlcpy strlen strncmp strnlen strpbrk
     strrchr strstr strnstr strtod strtok_r strtol strtoll strtoul strtoull
     strrchr strstr strnstr strtod strtok_r strtol strtoll strtoul strtoull
@@ -1002,7 +1002,7 @@ if(SDL_LIBC)
   )
   )
   if(WINDOWS)
   if(WINDOWS)
     list(APPEND symbols_to_check
     list(APPEND symbols_to_check
-      _strrev _ui64toa _uitoa _ultoa _wcsdup
+      _copysign _fseeki64 _strrev _ui64toa _uitoa _ultoa _wcsdup
     )
     )
   else()
   else()
     list(APPEND symbols_to_check
     list(APPEND symbols_to_check