diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2014-12-07 19:04:11 +0100 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2014-12-07 19:04:11 +0100 |
commit | c1ee4a252d82ff8ef4bf0845b4c2f21d2b4ec000 (patch) | |
tree | 4576102b682364a423870352e2e4e7d7b98c90c9 /src/port.h | |
parent | 645bd551dcfb609ce4b57a205bbf1c3e129d4ef3 (diff) | |
download | biruda-c1ee4a252d82ff8ef4bf0845b4c2f21d2b4ec000.tar.gz biruda-c1ee4a252d82ff8ef4bf0845b4c2f21d2b4ec000.tar.bz2 |
passing pid as string in a message, added portable PRIx macro for GPid
Diffstat (limited to 'src/port.h')
-rw-r--r-- | src/port.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -37,4 +37,10 @@ typedef unsigned char _Bool; #define PORT_DIR_SEPARATOR '/' #endif +#ifdef _WIN32 +#define PRIgid "%p" +#else +#define PRIgid "%d" +#endif + #endif |