summaryrefslogtreecommitdiffstats
path: root/common/zywrletemplate.c
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <kiagiadakis.george@gmail.com>2010-11-10 18:57:13 +0000
committerJohannes Schindelin <johannes.schindelin@gmx.de>2011-04-28 11:42:59 +0200
commit35246edddd952a6d83511f69cba47536495e4700 (patch)
treeea10ab42c5c059dc245b1061068d3de49263daa9 /common/zywrletemplate.c
parentd8fca9d013a8da92499cb3889dd0f53d3b4e437f (diff)
downloadlibtdevnc-35246edddd952a6d83511f69cba47536495e4700.tar.gz
libtdevnc-35246edddd952a6d83511f69cba47536495e4700.zip
Fix compilation in c89 mode.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Diffstat (limited to 'common/zywrletemplate.c')
-rw-r--r--common/zywrletemplate.c6
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