changeset 394:756f809dafab

6939022: Source code adjustments for parfait compilation Reviewed-by: jjg
author ohair
date Tue, 22 Jun 2010 17:34:23 -0700
parents 388276965253
children 3f10b36038b2
files src/solaris/demo/jni/Poller/Poller.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/solaris/demo/jni/Poller/Poller.c	Wed Jun 16 20:46:10 2010 +0200
+++ b/src/solaris/demo/jni/Poller/Poller.c	Tue Jun 22 17:34:23 2010 -0700
@@ -160,10 +160,10 @@
   return -1;
 }
 
-#define MEMORY_EXCEPTION(str) throwOutOfMemoryError(env, "Poller:" ## str)
-#define STATE_EXCEPTION(str)  throwIllegalStateException(env, "Poller:" ## str)
+#define MEMORY_EXCEPTION(str) throwOutOfMemoryError(env, "Poller:" str)
+#define STATE_EXCEPTION(str)  throwIllegalStateException(env, "Poller:" str)
 #define INTERRUPT_EXCEPTION(str) throwInterruptedIOException(env, \
-                                                             "Poller:" ## str)
+                                                             "Poller:" str)
 jint addfd(JNIEnv *, ioevent_t *, jint, jshort);
 jint removefd(JNIEnv *, ioevent_t *, jint);