forked from openkylin/platform_build
Remove global Windows __BEGIN_DECLS/__END_DECLS.
Change-Id: Ic1ba634a0376c9c1b484098b4ca41cf7659f06b1
This commit is contained in:
parent
1dbb41661a
commit
61c94258b1
|
@ -29,24 +29,6 @@
|
|||
* 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__
|
||||
#error "CYGWIN is unsupported for platform builds"
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue