Define compatibility flag if not defined with -std=c++

llvm-svn: 276708
This commit is contained in:
Xinliang David Li 2016-07-25 23:12:53 +00:00
parent 39e039c606
commit c5307c6993
1 changed files with 3 additions and 0 deletions

View File

@ -34,6 +34,9 @@
#else
#include <sys/mman.h>
#include <sys/file.h>
#ifndef MAP_FILE
#define MAP_FILE 0
#endif
#endif
#if defined(__FreeBSD__) && defined(__i386__)