add __MINGW32__
This commit is contained in:
parent
355384e459
commit
56679b429b
|
|
@ -26,7 +26,7 @@ $Id$
|
||||||
#ifdef HAVE_LIBIBERTY_H /* asprintf */
|
#ifdef HAVE_LIBIBERTY_H /* asprintf */
|
||||||
#include <libiberty.h>
|
#include <libiberty.h>
|
||||||
#undef AND /* obsolete macro in ansidecl.h */
|
#undef AND /* obsolete macro in ansidecl.h */
|
||||||
#else /* we have asprintf, but not libiberty.h */
|
#elif defined(__MINGW32__)/* we have asprintf, but not libiberty.h */
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
extern int asprintf(char **out, const char *fmt, ...);
|
extern int asprintf(char **out, const char *fmt, ...);
|
||||||
extern int vasprintf(char **out, const char *fmt, va_list ap);
|
extern int vasprintf(char **out, const char *fmt, va_list ap);
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
#ifdef HAVE_LIBIBERTY_H /* asprintf */
|
#ifdef HAVE_LIBIBERTY_H /* asprintf */
|
||||||
#include <libiberty.h>
|
#include <libiberty.h>
|
||||||
#undef AND /* obsolete macro in ansidecl.h */
|
#undef AND /* obsolete macro in ansidecl.h */
|
||||||
#else /* we have asprintf, but not libiberty.h */
|
#elif defined(__MINGW32__)/* we have asprintf, but not libiberty.h */
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
extern int asprintf(char **out, const char *fmt, ...);
|
extern int asprintf(char **out, const char *fmt, ...);
|
||||||
extern int vasprintf(char **out, const char *fmt, va_list ap);
|
extern int vasprintf(char **out, const char *fmt, va_list ap);
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ Copyright 1991 Regents of the University of California. All rights reserved.
|
||||||
#ifdef HAVE_LIBIBERTY_H /* asprintf */
|
#ifdef HAVE_LIBIBERTY_H /* asprintf */
|
||||||
#include <libiberty.h>
|
#include <libiberty.h>
|
||||||
#undef AND /* obsolete macro in ansidecl.h */
|
#undef AND /* obsolete macro in ansidecl.h */
|
||||||
#else /* we have asprintf, but not libiberty.h */
|
#elif defined(__MINGW32__)/* we have asprintf, but not libiberty.h */
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
extern int asprintf(char **out, const char *fmt, ...);
|
extern int asprintf(char **out, const char *fmt, ...);
|
||||||
extern int vasprintf(char **out, const char *fmt, va_list ap);
|
extern int vasprintf(char **out, const char *fmt, va_list ap);
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ Author: 1988 Thomas L. Quarles
|
||||||
#ifdef HAVE_LIBIBERTY_H /* asprintf */
|
#ifdef HAVE_LIBIBERTY_H /* asprintf */
|
||||||
#include <libiberty.h>
|
#include <libiberty.h>
|
||||||
#undef AND /* obsolete macro in ansidecl.h */
|
#undef AND /* obsolete macro in ansidecl.h */
|
||||||
#else /* we have asprintf, but not libiberty.h */
|
#elif defined(__MINGW32__)/* we have asprintf, but not libiberty.h */
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
extern int asprintf(char **out, const char *fmt, ...);
|
extern int asprintf(char **out, const char *fmt, ...);
|
||||||
extern int vasprintf(char **out, const char *fmt, va_list ap);
|
extern int vasprintf(char **out, const char *fmt, va_list ap);
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ Author: 1985 Thomas L. Quarles
|
||||||
#ifdef HAVE_LIBIBERTY_H /* asprintf */
|
#ifdef HAVE_LIBIBERTY_H /* asprintf */
|
||||||
#include <libiberty.h>
|
#include <libiberty.h>
|
||||||
#undef AND /* obsolete macro in ansidecl.h */
|
#undef AND /* obsolete macro in ansidecl.h */
|
||||||
#else /* we have asprintf, but not libiberty.h */
|
#elif defined(__MINGW32__)/* we have asprintf, but not libiberty.h */
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
extern int asprintf(char **out, const char *fmt, ...);
|
extern int asprintf(char **out, const char *fmt, ...);
|
||||||
extern int vasprintf(char **out, const char *fmt, va_list ap);
|
extern int vasprintf(char **out, const char *fmt, va_list ap);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue