summaryrefslogtreecommitdiff
path: root/jurt
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-02-16 14:14:43 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-02-17 11:33:57 +0000
commit2087484c65a3d5e75a9e8ad116d11a4e13366219 (patch)
tree1f335918a854319df9269329d165a91d711d2108 /jurt
parentd6bf086012343b4a1e27cd4242dced9ee0d73a06 (diff)
use consistent #define checks for the Windows platform
stage 2 of replacing usage of various checks for the windows platform with the compiler-defined '_WIN32' macro In this stage we focus on replacing usage of the WIN macro Change-Id: Ie8a4a63198a6de96bd158ecd707dadafb9c8ea84 Reviewed-on: https://gerrit.libreoffice.org/22393 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'jurt')
-rw-r--r--jurt/source/pipe/com_sun_star_lib_connections_pipe_PipeConnection.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/jurt/source/pipe/com_sun_star_lib_connections_pipe_PipeConnection.c b/jurt/source/pipe/com_sun_star_lib_connections_pipe_PipeConnection.c
index 6cdb2d1c1e4f..b187bd9bb61d 100644
--- a/jurt/source/pipe/com_sun_star_lib_connections_pipe_PipeConnection.c
+++ b/jurt/source/pipe/com_sun_star_lib_connections_pipe_PipeConnection.c
@@ -103,7 +103,7 @@ static rtl_uString * jstring2ustring(JNIEnv * env, jstring jstr)
* Signature: (Lcom/sun/star/beans/NativeService;)V
*/
SAL_DLLPUBLIC_EXPORT void
-#if defined WNT
+#if defined(_WIN32)
PipeConnection_create
#else
JNICALL Java_com_sun_star_lib_connections_pipe_PipeConnection_createJNI
@@ -242,7 +242,7 @@ JNICALL Java_com_sun_star_lib_connections_pipe_PipeConnection_createJNI
* Signature: ()V
*/
SAL_DLLPUBLIC_EXPORT void
-#if defined WNT
+#if defined(_WIN32)
PipeConnection_close
#else
JNICALL Java_com_sun_star_lib_connections_pipe_PipeConnection_closeJNI
@@ -328,7 +328,7 @@ JNICALL Java_com_sun_star_lib_connections_pipe_PipeConnection_closeJNI
* Signature: ([[BI)I
*/
SAL_DLLPUBLIC_EXPORT jint
-#if defined WNT
+#if defined(_WIN32)
PipeConnection_read
#else
JNICALL Java_com_sun_star_lib_connections_pipe_PipeConnection_readJNI
@@ -449,7 +449,7 @@ JNICALL Java_com_sun_star_lib_connections_pipe_PipeConnection_readJNI
* Signature: ([B)V
*/
SAL_DLLPUBLIC_EXPORT void
-#if defined WNT
+#if defined(_WIN32)
PipeConnection_write
#else
JNICALL Java_com_sun_star_lib_connections_pipe_PipeConnection_writeJNI
@@ -546,7 +546,7 @@ JNICALL Java_com_sun_star_lib_connections_pipe_PipeConnection_writeJNI
* Signature: ()V
*/
SAL_DLLPUBLIC_EXPORT void
-#if defined WNT
+#if defined(_WIN32)
PipeConnection_flush
#else
JNICALL Java_com_sun_star_lib_connections_pipe_PipeConnection_flushJNI