Mercurial > forge
comparison extra/NaN/src/xptopen.cpp @ 12702:29b7963bf748 octave-forge
define typeof() when missing; support for clang compiler added
author | schloegl |
---|---|
date | Tue, 22 Dec 2015 10:28:53 +0000 |
parents | 49e9ace39874 |
children |
comparison
equal
deleted
inserted
replaced
12701:794b03395bbd | 12702:29b7963bf748 |
---|---|
61 #include <string.h> | 61 #include <string.h> |
62 #include <sys/param.h> | 62 #include <sys/param.h> |
63 #include <time.h> | 63 #include <time.h> |
64 #include "mex.h" | 64 #include "mex.h" |
65 | 65 |
66 #ifndef typeof | |
67 #define typeof __typeof__ | |
68 #endif | |
69 | |
66 #ifdef tmwtypes_h | 70 #ifdef tmwtypes_h |
67 #if (MX_API_VER<=0x07020000) | 71 #if (MX_API_VER<=0x07020000) |
68 typedef int mwSize; | 72 typedef int mwSize; |
69 typedef int mwIndex; | 73 typedef int mwIndex; |
70 #endif | 74 #endif |