am e9966aab: am 79a9a324: am 3342bf0f: Merge "Windows SDK: define BEGIN_DECLS/END_DECLS."

* commit 'e9966aab80e74d0a06c4ab6734a5996d8cb69604':
  Windows SDK: define BEGIN_DECLS/END_DECLS.
This commit is contained in:
Raphael Moll 2013-11-08 13:42:20 -08:00 committed by Android Git Automerger
commit 6f1f97d970
1 changed files with 19 additions and 1 deletions

View File

@ -15,7 +15,7 @@
*/
/*
* Android config -- "CYGWIN_NT-5.1".
* Android config -- "CYGWIN_NT-5.1".
*
* Cygwin has pthreads, but GDB seems to get confused if you use it to
* create threads. By "confused", I mean it freezes up the first time the
@ -37,6 +37,24 @@
* 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
/*
* Threading model. Choose one:
*