test_libFLAC : Fix Windows build after addidion of endian tests.
authorErik de Castro Lopo <erikd@mega-nerd.com>
Wed, 2 Jul 2014 19:38:09 +0000 (05:38 +1000)
committerErik de Castro Lopo <erikd@mega-nerd.com>
Wed, 2 Jul 2014 19:38:12 +0000 (05:38 +1000)
* Use "share/compat.h" instead of <stdint.h>.
* Update test_libFLAC.vcproj project file.
* Update Makefile.lite build system.

Patch-from: lvqcl <lvqcl.mail@gmail.com>

src/test_libFLAC/Makefile.lite
src/test_libFLAC/endswap.c
src/test_libFLAC/test_libFLAC.vcproj

index e7a7f29..9b73d9d 100644 (file)
@@ -41,6 +41,7 @@ SRCS_C = \
        bitwriter.c \
        decoders.c \
        encoders.c \
+       endswap.c \
        format.c \
        main.c \
        md5.c \
index b34f689..eeff126 100644 (file)
@@ -21,9 +21,9 @@
 #endif
 
 #include <stdio.h>
-#include <stdint.h>
 #include <string.h>
 
+#include "share/compat.h"
 #include "FLAC/assert.h"
 #include "share/endswap.h"
 #include "private/md5.h"
index 3f9bfce..0d57eae 100644 (file)
                                >\r
                        </File>\r
                        <File\r
+                               RelativePath=".\endswap.h"\r
+                               >\r
+                       </File>\r
+                       <File\r
                                RelativePath=".\format.h"\r
                                >\r
                        </File>\r
                                >\r
                        </File>\r
                        <File\r
+                               RelativePath=".\endswap.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
                                RelativePath=".\format.c"\r
                                >\r
                        </File>\r