Skip to content

Commit

Permalink
Merge pull request #2 from vortechs2000/fix_aix
Browse files Browse the repository at this point in the history
Reference platform.h by ../src/platform.h - AIX is ignoring -I flags
  • Loading branch information
hintjens committed Sep 20, 2013
2 parents c0c8ce5 + 1e8e4d7 commit 61d8bf9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion perf/inproc_lat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
3 changes: 2 additions & 1 deletion perf/inproc_thr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
3 changes: 2 additions & 1 deletion tests/testutil.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 61d8bf9

Please sign in to comment.