summaryrefslogtreecommitdiff
path: root/src/socket/unix.h
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2013-05-04 23:19:23 (GMT)
committer jacob1 <jfu614@gmail.com>2013-05-04 23:19:23 (GMT)
commita4e75d587fb6a256da5584328b3dd84a185b5640 (patch)
tree0df2b0aa7b090259665b4d58a3a2e8c0ab2c8c17 /src/socket/unix.h
parent73fe68a3eb336bac2b76c70ec659bb0fd10df8c1 (diff)
downloadpowder-a4e75d587fb6a256da5584328b3dd84a185b5640.zip
powder-a4e75d587fb6a256da5584328b3dd84a185b5640.tar.gz
add #ifdef WIN / #idndef WIN around some lua socket files, for easier visual studio compatibility
Diffstat (limited to 'src/socket/unix.h')
-rw-r--r--src/socket/unix.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/socket/unix.h b/src/socket/unix.h
index 32b7380..f3b543e 100644
--- a/src/socket/unix.h
+++ b/src/socket/unix.h
@@ -1,3 +1,4 @@
+#ifndef WIN
#ifndef UNIX_H
#define UNIX_H
/*=========================================================================*\
@@ -26,3 +27,4 @@ typedef t_unix *p_unix;
int luaopen_socket_unix(lua_State *L);
#endif /* UNIX_H */
+#endif