Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 79a9a324 authored by Raphael Moll's avatar Raphael Moll Committed by Android Git Automerger
Browse files

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

* commit '3342bf0f':
  Windows SDK: define BEGIN_DECLS/END_DECLS.
parents 12f87a5b 3342bf0f
Loading
Loading
Loading
Loading
+19 −1
Original line number Diff line number Diff line
@@ -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:
 *