Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save max-verem/76b6617ad9154d37015abd2e81a936ed to your computer and use it in GitHub Desktop.
Save max-verem/76b6617ad9154d37015abd2e81a936ed to your computer and use it in GitHub Desktop.
From bf64154609b9ac809e7574d6b4f3ac64655413a5 Mon Sep 17 00:00:00 2001
From: Maksym Veremeyenko <[email protected]>
Date: Sat, 20 Jan 2018 10:24:25 +0200
Subject: [PATCH] Disable _XOPEN_SOURCE marco definition
---
src/modules/ndi/factory.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/modules/ndi/factory.c b/src/modules/ndi/factory.c
index 48225f4..29142c0 100644
--- a/src/modules/ndi/factory.c
+++ b/src/modules/ndi/factory.c
@@ -20,7 +20,7 @@
#define __STDC_FORMAT_MACROS /* see inttypes.h */
#define __STDC_LIMIT_MACROS
#define __STDC_CONSTANT_MACROS
-#define _XOPEN_SOURCE
+//#define _XOPEN_SOURCE 700
.
#include <stdint.h>
#include <inttypes.h>
--.
1.8.3.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment