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

Commit 61c94258 authored by Elliott Hughes's avatar Elliott Hughes
Browse files

Remove global Windows __BEGIN_DECLS/__END_DECLS.

Change-Id: Ic1ba634a0376c9c1b484098b4ca41cf7659f06b1
parent 1dbb4166
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