diff options
author | George Kiagiadakis <[email protected]> | 2010-11-10 18:57:13 +0000 |
---|---|---|
committer | Johannes Schindelin <[email protected]> | 2011-04-28 11:42:59 +0200 |
commit | 35246edddd952a6d83511f69cba47536495e4700 (patch) | |
tree | ea10ab42c5c059dc245b1061068d3de49263daa9 /common | |
parent | d8fca9d013a8da92499cb3889dd0f53d3b4e437f (diff) | |
download | libtdevnc-35246edddd952a6d83511f69cba47536495e4700.tar.gz libtdevnc-35246edddd952a6d83511f69cba47536495e4700.zip |
Fix compilation in c89 mode.
Signed-off-by: Johannes Schindelin <[email protected]>
Diffstat (limited to 'common')
-rw-r--r-- | common/zywrletemplate.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/common/zywrletemplate.c b/common/zywrletemplate.c index 52b2b0b..904de40 100644 --- a/common/zywrletemplate.c +++ b/common/zywrletemplate.c @@ -143,7 +143,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #ifdef WIN32 #define InlineX __inline #else -#define InlineX inline +# ifndef __STRICT_ANSI__ +# define InlineX inline +# else +# define InlineX +# endif #endif #ifdef ZYWRLE_ENCODE |