changeset 2542:25fe5c3bf7b7

6939022: Source code adjustments for parfait compilation Reviewed-by: jjg
author ohair
date Tue, 22 Jun 2010 17:07:17 -0700
parents 6fe3b86f4720
children 848e69fcf2f3
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	Tue Jun 22 14:22:14 2010 -0400
+++ b/src/solaris/demo/jni/Poller/Poller.c	Tue Jun 22 17:07:17 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);