Prechádzať zdrojové kódy

Fixed bug 3973 - Include of stdint is needed to build on linux, mingw and possibly android

Stuart Axon

https://discourse.libsdl.org/t/stdint-h-removed/23426

https://discourse.libsdl.org/t/debuild-fails-to-build-the-last-few-days/23429/4

Currently SDL2 is not building in Linux (x86 and ARM), Android and MingW because include stdint.h has been removed from yuv_rgb.h
Sam Lantinga 7 rokov pred
rodič
commit
3ac8adbae3
1 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  1. 2 1
      src/video/yuv2rgb/yuv_rgb.h

+ 2 - 1
src/video/yuv2rgb/yuv_rgb.h

@@ -16,7 +16,8 @@
 // For all methods, width and height should be even, if not, the last row/column of the result image won't be affected.
 // For sse methods, if the width if not divisable by 32, the last (width%32) pixels of each line won't be affected.
 
-/*#include <stdint.h> - handled by sources including this header */
+#include "SDL_stdinc.h"
+/*#include <stdint.h>*/
 
 typedef enum
 {