Browse Source

XOPEN_SOURCE defines fixed

master
Mike Hamburg 9 years ago
parent
commit
1bda5ed34a
2 changed files with 5 additions and 1 deletions
  1. +2
    -0
      src/public_include/decaf/decaf_255.hxx
  2. +3
    -1
      src/public_include/decaf/decaf_448.hxx

+ 2
- 0
src/public_include/decaf/decaf_255.hxx View File

@@ -23,7 +23,9 @@
#define __DECAF_255_HXX__ 1

/** This code uses posix_memalign. */
#ifndef _XOPEN_SOURCE
#define _XOPEN_SOURCE 600
#endif
#include <stdlib.h>
#include <string.h> /* for memcpy */



+ 3
- 1
src/public_include/decaf/decaf_448.hxx View File

@@ -23,7 +23,9 @@
#define __DECAF_448_HXX__ 1

/** This code uses posix_memalign. */
#define _XOPEN_SOURCE 600
#ifndef _XOPEN_SOURCE
#define _XOPEN_SOURCE 600
#endif
#include <stdlib.h>
#include <string.h> /* for memcpy */



Loading…
Cancel
Save