Merge pull request #675 from vortechs2000/fix_aix

Reference platform.h by ../src/platform.h - AIX is ignoring -I flags
This commit is contained in:
Pieter Hintjens 2013-09-20 09:54:00 -07:00
commit 1293f1b956
3 changed files with 6 additions and 3 deletions

View File

@ -24,7 +24,8 @@
#include <stdlib.h>
#include <string.h>
#include "platform.hpp"
/* Just specifying platform.hpp and relying on -I flags doesn't work on AIX */
#include "../src/platform.hpp"
#if defined ZMQ_HAVE_WINDOWS
#include <windows.h>

View File

@ -26,7 +26,8 @@
#include <stdlib.h>
#include <string.h>
#include "platform.hpp"
/* Just specifying platform.hpp and relying on -I flags doesn't work on AIX */
#include "../src/platform.hpp"
#if defined ZMQ_HAVE_WINDOWS
#include <windows.h>

View File

@ -22,7 +22,8 @@
#include "../include/zmq.h"
#include "../include/zmq_utils.h"
#include "platform.hpp"
/* Just specifying platform.hpp and relying on -I flags doesn't work on AIX */
#include "../src/platform.hpp"
#undef NDEBUG
#include <time.h>