Procházet zdrojové kódy

ggml : include stdlib.h before intrin.h (#4736)

Georgi Gerganov před 2 roky
rodič
revize
dc891b7f7a
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      ggml-impl.h

+ 1 - 0
ggml-impl.h

@@ -5,6 +5,7 @@
 // GGML internal header
 
 #include <assert.h>
+#include <stdlib.h> // load `stdlib.h` before other headers to work around MinGW bug: https://sourceforge.net/p/mingw-w64/bugs/192/
 #include <stddef.h>
 #include <stdbool.h>
 #include <string.h> // memcpy