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

Commit f07ddab1 authored by Elliott Hughes's avatar Elliott Hughes Committed by Gerrit Code Review
Browse files

Merge "Remove global Windows __BEGIN_DECLS/__END_DECLS."

parents 1a5a615a 61c94258
Loading
Loading
Loading
Loading
+0 −18
Original line number Diff line number Diff line
@@ -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