am f07ddab1
: Merge "Remove global Windows __BEGIN_DECLS/__END_DECLS."
* commit 'f07ddab187df78a7be32289506f5eca051339f75': Remove global Windows __BEGIN_DECLS/__END_DECLS.
This commit is contained in:
@@ -29,24 +29,6 @@
|
|||||||
* comments.
|
* comments.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* MingW doesn't define __BEGIN_DECLS / __END_DECLS. */
|
|
||||||
|
|
||||||
#ifndef __BEGIN_DECLS
|
|
||||||
# ifdef __cplusplus
|
|
||||||
# define __BEGIN_DECLS extern "C" {
|
|
||||||
# else
|
|
||||||
# define __BEGIN_DECLS
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef __END_DECLS
|
|
||||||
# ifdef __cplusplus
|
|
||||||
# define __END_DECLS }
|
|
||||||
# else
|
|
||||||
# define __END_DECLS
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __CYGWIN__
|
#ifdef __CYGWIN__
|
||||||
#error "CYGWIN is unsupported for platform builds"
|
#error "CYGWIN is unsupported for platform builds"
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user