File: sjlj-declare-xopen-source.patch

package info (click to toggle)
higan 098-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 11,904 kB
  • ctags: 13,286
  • sloc: cpp: 108,285; ansic: 778; makefile: 32; sh: 18
file content (15 lines) | stat: -rw-r--r-- 344 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Declare that sjlj.c requires X/Open 7
 Things from the X/Open 7 standard are used. This has to
 be declared when building with -std=c99.
Author: Tobias Hansen <thansen@debian.org>

--- a/libco/sjlj.c
+++ b/libco/sjlj.c
@@ -12,6 +12,7 @@
  */
 
 #define LIBCO_C
+#define _XOPEN_SOURCE 700
 #include "libco.h"
 
 #include <stdlib.h>