shithub: aacenc

Download patch

ref: 56cc8585198e9ae8365a048461207f7d58c58bd2
parent: 4aed7fa3dc77418e63ed96884382dacf4e48b473
author: menno <menno>
date: Sat Jan 24 22:06:08 EST 2009

Changed FAACAPI definition for MINGW compiler

--- a/include/faac.h
+++ b/include/faac.h
@@ -16,7 +16,7 @@
  * License along with this library; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  *
- * $Id: faac.h,v 1.34 2008/11/24 22:00:11 menno Exp $
+ * $Id: faac.h,v 1.35 2009/01/25 03:06:08 menno Exp $
  */
 
 #ifndef _FAAC_H_
@@ -26,7 +26,7 @@
 extern "C" {
 #endif /* __cplusplus */
 
-#ifdef _WIN32
+#ifdef _WIN32 && !defined(__MINGW32__)
 # ifndef FAACAPI
 #  define FAACAPI __stdcall
 # endif
--- a/libfaac/frame.h
+++ b/libfaac/frame.h
@@ -16,7 +16,7 @@
  * License along with this library; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  *
- * $Id: frame.h,v 1.28 2008/11/24 22:00:11 menno Exp $
+ * $Id: frame.h,v 1.29 2009/01/25 03:06:08 menno Exp $
  */
 
 #ifndef FRAME_H
@@ -50,7 +50,7 @@
 #include "aacquant.h"
 #include "fft.h"
 
-#ifdef _WIN32
+#ifdef _WIN32 && !defined(__MINGW32__)
   #ifndef FAACAPI
     #define FAACAPI __stdcall
   #endif