*
*/
+#ifndef _GNU_SOURCE
#define _GNU_SOURCE
+#endif
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
* Author: Lenny Komow <lenny@lunarg.com>
*/
+#ifndef _GNU_SOURCE
#define _GNU_SOURCE
+#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
*
*/
+#ifndef _GNU_SOURCE
#define _GNU_SOURCE
+#endif
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
* Author: Tony Barbour <tony@LunarG.com>
* Author: Chia-I Wu <olv@lunarg.com>
*/
+
+#ifndef _GNU_SOURCE
#define _GNU_SOURCE
+#endif
#include <stdlib.h>
#include <string.h>
/* Linux-specific common code: */
// Headers:
+//#ifndef _GNU_SOURCE
//#define _GNU_SOURCE 1
+//#endif
// TBD: Are the contents of the following file used?
#include <unistd.h>
// Note: The following file is for dynamic loading:
* Author: Mark Lobodzinski <mark@lunarg.com>
*/
+#ifndef _GNU_SOURCE
#define _GNU_SOURCE
+#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
preamble += '#pragma once\n'
elif self.genOpts.filename == 'vk_loader_extensions.c':
+ preamble += '#ifndef _GNU_SOURCE\n'
preamble += '#define _GNU_SOURCE\n'
+ preamble += '#endif\n'
preamble += '#include <stdio.h>\n'
preamble += '#include <stdlib.h>\n'
preamble += '#include <string.h>\n'