* Update win32 files
authorilliminable <illiminable@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Mon, 14 Aug 2006 14:33:40 +0000 (14:33 +0000)
committerilliminable <illiminable@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Mon, 14 Aug 2006 14:33:40 +0000 (14:33 +0000)
* Add a #define for snprintf under windows in skeleton.h
* Fix a c99 declaration in speexdec.c

git-svn-id: http://svn.xiph.org/trunk/speex@11772 0101bb08-14d6-0310-b084-bc0e0c8e3800

src/skeleton.h
src/speexdec.c
win32/VS2005/libspeex/libspeex.vcproj
win32/VS2005/speexdec/speexdec.vcproj
win32/VS2005/speexenc/speexenc.vcproj

index aa27231..f07d7a3 100644 (file)
 extern "C" {
 #endif
 
+#ifdef WIN32
+#define snprintf _snprintf
+#endif
+
 #include <ogg/ogg.h>
 
 #define SKELETON_VERSION_MAJOR 3
index 36604ff..6b24730 100644 (file)
@@ -462,6 +462,7 @@ int main(int argc, char **argv)
    int extra_headers;
    int wav_format=0;
    int lookahead;
+   int skeleton_serialno = -1;
 
    enh_enabled = 1;
 
@@ -584,7 +585,7 @@ int main(int argc, char **argv)
    
    speex_bits_init(&bits);
    /*Main decoding loop*/
-   int skeleton_serialno = -1;
+   
    while (1)
    {
       char *data;
index dc55e9d..34cf8a0 100644 (file)
@@ -3,7 +3,7 @@
        ProjectType="Visual C++"\r
        Version="8.00"\r
        Name="libspeex"\r
-       ProjectGUID="{6D653C6F-8722-4B10-9C3A-CB7094DD159F}"\r
+       ProjectGUID="{E972C52F-9E85-4D65-B19C-031E511E9DB4}"\r
        RootNamespace="libspeex"\r
        Keyword="Win32Proj"\r
        >\r
index 4b7a630..1b7a3ee 100644 (file)
                                >\r
                        </File>\r
                        <File\r
+                               RelativePath="..\..\..\src\skeleton.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
                                RelativePath="..\..\..\src\speexdec.c"\r
                                >\r
                        </File>\r
                                >\r
                        </File>\r
                        <File\r
+                               RelativePath="..\..\..\src\skeleton.h"\r
+                               >\r
+                       </File>\r
+                       <File\r
                                RelativePath="..\..\..\src\wav_io.h"\r
                                >\r
                        </File>\r
index 41be39f..901d097 100644 (file)
                                >\r
                        </File>\r
                        <File\r
+                               RelativePath="..\..\..\src\skeleton.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
                                RelativePath="..\..\..\src\speexenc.c"\r
                                >\r
                        </File>\r
                                >\r
                        </File>\r
                        <File\r
+                               RelativePath="..\..\..\src\skeleton.h"\r
+                               >\r
+                       </File>\r
+                       <File\r
                                RelativePath="..\..\..\src\wav_io.h"\r
                                >\r
                        </File>\r