Merge commit '31f259c'

This commit is contained in:
Phillip Stephens 2016-10-27 15:45:58 -08:00
commit b3e988b289
5 changed files with 5 additions and 5 deletions

View File

@ -30,7 +30,7 @@ list(APPEND CORE_EXTRA src/win32_largefilewrapper.c include/win32_largefilewrapp
src/athena/FileWriterWin32.cpp src/athena/FileReaderWin32.cpp)
else()
list(APPEND CORE_EXTRA src/athena/FileWriter.cpp src/athena/FileReader.cpp)
if(APPLE OR GEKKO)
if(APPLE OR GEKKO OR ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
list(APPEND CORE_EXTRA src/osx_largefilewrapper.c include/osx_largefilewrapper.h)
if(GEKKO)
list(APPEND CORE_EXTRA src/gekko_support.c include/gekko_support.h)

View File

@ -1,7 +1,7 @@
#ifndef OSX_LARGEFILEWRAPPER_H
#define OSX_LARGEFILEWRAPPER_H
#if defined(__APPLE__) || defined(GEKKO)
#if defined(__APPLE__) || defined(GEKKO) || defined(__FreeBSD__)
#include <stdio.h>
#ifdef __cplusplus
extern "C" {

View File

@ -1,6 +1,6 @@
#include "athena/FileReader.hpp"
#if __APPLE__
#if __APPLE__ || __FreeBSD__
#include "osx_largefilewrapper.h"
#elif GEKKO
#include "gekko_support.h"

View File

@ -1,6 +1,6 @@
#include "athena/FileWriter.hpp"
#if __APPLE__
#if __APPLE__ || __FreeBSD__
#include "osx_largefilewrapper.h"
#elif GEKKO
#include "gekko_support.h"

View File

@ -1,4 +1,4 @@
#if defined(__APPLE__) || defined(GEKKO)
#if defined(__APPLE__) || defined(GEKKO) || defined(__FreeBSD__)
#include "osx_largefilewrapper.h"
#include <stdio.h>