X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/b24ecb460ba4a58d3ec7dbe01669eccf93eb5856..c6f21f1b5fbf31e9014822c480ebec6bacb22aa3:/dialog.h diff --git a/dialog.h b/dialog.h index fc1dd414..a124e1ab 100644 --- a/dialog.h +++ b/dialog.h @@ -51,6 +51,11 @@ enum { */ typedef union { void *p; int i; } intorptr; +#ifndef INLINE +intorptr I(int i); +intorptr P(void *p); +#endif + #if defined DEFINE_INTORPTR_FNS || defined INLINE #ifdef INLINE #define PREFIX INLINE @@ -60,9 +65,6 @@ typedef union { void *p; int i; } intorptr; PREFIX intorptr I(int i) { intorptr ret; ret.i = i; return ret; } PREFIX intorptr P(void *p) { intorptr ret; ret.p = p; return ret; } #undef PREFIX -#else -intorptr I(int i); -intorptr P(void *p); #endif /*