Commit 6a3d7e36 authored by Fabrice Bellard's avatar Fabrice Bellard

fixed mangle issue

Originally committed as revision 605 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent fad9f495
...@@ -73,12 +73,6 @@ typedef INT64 int64_t; ...@@ -73,12 +73,6 @@ typedef INT64 int64_t;
#define snprintf _snprintf #define snprintf _snprintf
#ifdef HAVE_AV_CONFIG_H
#define MANGLE(a) "_" #a
#endif /* HAVE_AV_CONFIG_H */
#else /* CONFIG_WIN32 */ #else /* CONFIG_WIN32 */
/* unix */ /* unix */
...@@ -113,8 +107,6 @@ typedef signed long long INT64; ...@@ -113,8 +107,6 @@ typedef signed long long INT64;
#include "fastmemcpy.h" #include "fastmemcpy.h"
#endif #endif
#define MANGLE(a) #a
#endif /* HAVE_AV_CONFIG_H */ #endif /* HAVE_AV_CONFIG_H */
#endif /* !CONFIG_WIN32 */ #endif /* !CONFIG_WIN32 */
...@@ -124,6 +116,13 @@ typedef signed long long INT64; ...@@ -124,6 +116,13 @@ typedef signed long long INT64;
#include "bswap.h" #include "bswap.h"
#if defined(__MINGW32__) || defined(__CYGWIN__) || \
defined(__OS2__) || defined (__OpenBSD__)
#define MANGLE(a) "_" #a
#else
#define MANGLE(a) #a
#endif
/* debug stuff */ /* debug stuff */
#ifndef DEBUG #ifndef DEBUG
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment