shithub: aacdec

Download patch

ref: a8e8a915d3d2f3071b43a8ffcff91f6d464173a1
parent: 42b2e4697882503c5dcdc6ddfcfb138ebefc5f7a
author: menno <menno>
date: Fri Jun 5 12:32:27 EDT 2009

Compile fixes

--- a/frontend/main.c
+++ b/frontend/main.c
@@ -25,13 +25,15 @@
 ** Commercial non-GPL licensing of this software is possible.
 ** For more info contact Nero AG through Mpeg4AAClicense@nero.com.
 **
-** $Id: main.c,v 1.85 2008/09/22 17:55:09 menno Exp $
+** $Id: main.c,v 1.86 2009/06/05 16:32:26 menno Exp $
 **/
 
 #ifdef _WIN32
 #define WIN32_LEAN_AND_MEAN
 #include <windows.h>
+#ifndef __MINGW32__
 #define off_t __int64
+#endif
 #else
 #include <time.h>
 #endif
--- a/libfaad/common.h
+++ b/libfaad/common.h
@@ -25,7 +25,7 @@
 ** Commercial non-GPL licensing of this software is possible.
 ** For more info contact Nero AG through Mpeg4AAClicense@nero.com.
 **
-** $Id: common.h,v 1.77 2009/02/05 00:51:03 menno Exp $
+** $Id: common.h,v 1.78 2009/06/05 16:32:27 menno Exp $
 **/
 
 #ifndef __COMMON_H__
@@ -313,7 +313,7 @@
   }
 
 
-  #if defined(_WIN32) && !defined(__MINGW32__)
+  #if defined(_WIN32) && !defined(_WIN64) && !defined(__MINGW32__)
     #define HAS_LRINTF
     static INLINE int lrintf(float f)
     {