diff options
author | Colin Watson <cjwatson@debian.org> | 2014-01-14 02:08:53 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2014-01-14 02:10:27 +0000 |
commit | cb8693ff90e7df51d594245b6b956fc2bd064a7a (patch) | |
tree | 6457fe99e07224e3c8c03244e26e07b70c223c06 | |
parent | 209f7314efe4aae98d000843b2f4c4614aafb3a3 (diff) |
Translate __PMT() to __P() on non-glibc architectures
Forwarded: no
Last-Update: 2010-03-26
Patch-Name: pmt-compat.patch
-rw-r--r-- | db.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -39,6 +39,11 @@ #include <sys/types.h> #include <sys/cdefs.h> +/* Some systems don't define the __PMT extension of __P; translation is safe */ +#ifndef __PMT +#define __PMT(p) __P(p) +#endif + #include <limits.h> #ifdef __DBINTERFACE_PRIVATE |