Commit 3f12da06 authored by Hendryk Bockelmann's avatar Hendryk Bockelmann
Browse files

add patch from Luis for Mac support

parent 822ce5ba
......@@ -39,6 +39,8 @@ static char default_event_list[] =
/* default PAPI FPU flop events */
static char default_event_list[] =
"PAPI_LD_INS,PAPI_TOT_INS,PAPI_TOT_CYC";
#elif (defined(__APPLE__) && defined(__GNUC__) && defined(__x86_64__))
static char default_event_list[] = "";
#else
# error unknown system
#endif
......
......@@ -34,6 +34,13 @@
# if HAVE_INTTYPES_H
# include <inttypes.h>
# endif
#elif (defined(__APPLE__) && defined(__x86_64__))
# if HAVE_STDINT_H
# include <stdint.h>
# endif
# if HAVE_INTTYPES_H
# include <inttypes.h>
# endif
#else
# error unknown system
#endif
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment