harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r672480 [1/2] - in /harmony/enhanced/classlib/trunk/modules: nio_char/src/main/native/niochar/shared/ nio_char/src/main/native/niochar/shared/additional/ portlib/src/main/native/include/shared/
Date Sat, 28 Jun 2008 08:57:24 GMT
Author: hindessm
Date: Sat Jun 28 01:57:22 2008
New Revision: 672480

URL: http://svn.apache.org/viewvc?rev=672480&view=rev
Log:
Fix jaddr2long to use IDATA not int to fix (valid) warnings on 64-bit.

Modified:
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/CP_1250.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/CP_1251.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/CP_1252.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/CP_1253.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/CP_1254.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/CP_1257.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/IBM866.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/ISO_8859_1.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/ISO_8859_13.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/ISO_8859_15.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/ISO_8859_2.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/ISO_8859_4.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/ISO_8859_5.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/ISO_8859_7.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/ISO_8859_9.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/KOI8_R.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/US_ASCII.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/Big5.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/Big5_HKSCS.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/EUC_KR.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/GB18030.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/GB2312.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/GBK.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM00858.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01140.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01141.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01142.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01143.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01144.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01145.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01146.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01147.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01148.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01149.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM037.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM1026.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM1047.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM273.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM277.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM278.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM280.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM284.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM285.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM297.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM420.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM424.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM437.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM500.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM775.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM850.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM852.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM855.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM857.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM860.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM861.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM862.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM863.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM864.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM865.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM868.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM869.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM870.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM871.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM918.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM_Thai.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/ISO_8859_3.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/ISO_8859_6.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/ISO_8859_8.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/JIS_X0201.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/TIS_620.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/windows_1255.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/windows_1256.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/windows_31j.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM1006.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM1025.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM1097.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM1098.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM1112.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM1122.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM1123.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM1124.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM737.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM856.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM874.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM875.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM922.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_MS950_HKSCS.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_MacCyrillic.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_MacGreek.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_MacTurkish.c
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_windows_949.c
    harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/include/shared/hycomp.h

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/CP_1250.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/CP_1250.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/CP_1250.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/CP_1250.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "CP_1250.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_CP_11250_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/CP_1251.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/CP_1251.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/CP_1251.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/CP_1251.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "CP_1251.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_CP_11251_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/CP_1252.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/CP_1252.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/CP_1252.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/CP_1252.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "CP_1252.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_CP_11252_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/CP_1253.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/CP_1253.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/CP_1253.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/CP_1253.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "CP_1253.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_CP_11253_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/CP_1254.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/CP_1254.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/CP_1254.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/CP_1254.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "CP_1254.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_CP_11254_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/CP_1257.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/CP_1257.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/CP_1257.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/CP_1257.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "CP_1257.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_CP_11257_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/IBM866.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/IBM866.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/IBM866.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/IBM866.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "IBM866.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_IBM866_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/ISO_8859_1.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/ISO_8859_1.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/ISO_8859_1.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/ISO_8859_1.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "ISO_8859_1.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT jint JNICALL Java_org_apache_harmony_niochar_charset_ISO_18859_11_00024Decoder_nDecode
   (JNIEnv *env, jobject obj, jcharArray outArr, jint arrPosition, jint remaining, jlong inAddr, jint absolutePos)

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/ISO_8859_13.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/ISO_8859_13.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/ISO_8859_13.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/ISO_8859_13.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "ISO_8859_13.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_ISO_18859_113_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/ISO_8859_15.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/ISO_8859_15.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/ISO_8859_15.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/ISO_8859_15.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "ISO_8859_15.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_ISO_18859_115_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/ISO_8859_2.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/ISO_8859_2.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/ISO_8859_2.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/ISO_8859_2.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "ISO_8859_2.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_ISO_18859_12_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/ISO_8859_4.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/ISO_8859_4.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/ISO_8859_4.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/ISO_8859_4.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "ISO_8859_4.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_ISO_18859_14_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/ISO_8859_5.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/ISO_8859_5.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/ISO_8859_5.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/ISO_8859_5.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "ISO_8859_5.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_ISO_18859_15_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/ISO_8859_7.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/ISO_8859_7.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/ISO_8859_7.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/ISO_8859_7.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "ISO_8859_7.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_ISO_18859_17_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/ISO_8859_9.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/ISO_8859_9.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/ISO_8859_9.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/ISO_8859_9.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "ISO_8859_9.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_ISO_18859_19_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/KOI8_R.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/KOI8_R.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/KOI8_R.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/KOI8_R.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "KOI8_R.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_KOI8_1R_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/US_ASCII.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/US_ASCII.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/US_ASCII.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/US_ASCII.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "US_ASCII.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT jint JNICALL Java_org_apache_harmony_niochar_charset_US_1ASCII_00024Decoder_nDecode
   (JNIEnv *env, jobject obj, jcharArray outArr, jint arrPosition, jint remaining, jlong inAddr, jint absolutePos) 

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/Big5.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/Big5.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/Big5.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/Big5.c Sat Jun 28 01:57:22 2008
@@ -16,7 +16,7 @@
  */
 
 #include "Big5.h"
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
         static const int decodeIndex[] = {
          0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/Big5_HKSCS.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/Big5_HKSCS.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/Big5_HKSCS.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/Big5_HKSCS.c Sat Jun 28 01:57:22 2008
@@ -16,7 +16,7 @@
  */
 
 #include "Big5_HKSCS.h"
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
         static const int decodeIndex[] = {
          0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/EUC_KR.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/EUC_KR.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/EUC_KR.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/EUC_KR.c Sat Jun 28 01:57:22 2008
@@ -16,7 +16,7 @@
  */
 
 #include "EUC_KR.h"
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
         static const int decodeIndex[] = {
          0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/GB18030.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/GB18030.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/GB18030.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/GB18030.c Sat Jun 28 01:57:22 2008
@@ -16,7 +16,7 @@
  */
 
 #include "GB18030.h"
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 #define linear(b1, b2, b3, b4) ((((b1)*10+(b2))*126L+(b3))*10L+(b4))
 static jbyte * unLinear(jint lin) {

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/GB2312.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/GB2312.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/GB2312.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/GB2312.c Sat Jun 28 01:57:22 2008
@@ -16,7 +16,7 @@
  */
 
 #include "GB2312.h"
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
         static const int decodeIndex[] = {
          0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/GBK.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/GBK.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/GBK.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/GBK.c Sat Jun 28 01:57:22 2008
@@ -16,7 +16,7 @@
  */
 
 #include "GBK.h"
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
         static const int decodeIndex[] = {
          0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM00858.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM00858.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM00858.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM00858.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "IBM00858.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_IBM00858_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01140.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01140.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01140.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01140.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "IBM01140.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_IBM01140_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01141.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01141.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01141.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01141.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "IBM01141.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_IBM01141_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01142.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01142.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01142.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01142.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "IBM01142.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_IBM01142_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01143.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01143.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01143.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01143.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "IBM01143.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_IBM01143_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01144.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01144.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01144.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01144.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "IBM01144.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_IBM01144_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01145.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01145.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01145.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01145.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "IBM01145.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_IBM01145_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01146.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01146.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01146.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01146.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "IBM01146.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_IBM01146_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01147.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01147.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01147.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01147.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "IBM01147.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_IBM01147_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01148.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01148.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01148.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01148.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "IBM01148.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_IBM01148_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01149.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01149.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01149.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM01149.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "IBM01149.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_IBM01149_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM037.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM037.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM037.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM037.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "IBM037.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_IBM037_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM1026.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM1026.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM1026.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM1026.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "IBM1026.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_IBM1026_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM1047.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM1047.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM1047.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM1047.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "IBM1047.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_IBM1047_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM273.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM273.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM273.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM273.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "IBM273.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_IBM273_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM277.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM277.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM277.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM277.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "IBM277.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_IBM277_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM278.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM278.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM278.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM278.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "IBM278.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_IBM278_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM280.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM280.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM280.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM280.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "IBM280.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_IBM280_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM284.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM284.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM284.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM284.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "IBM284.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_IBM284_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM285.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM285.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM285.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM285.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "IBM285.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_IBM285_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM297.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM297.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM297.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM297.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "IBM297.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_IBM297_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM420.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM420.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM420.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM420.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "IBM420.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_IBM420_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM424.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM424.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM424.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM424.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "IBM424.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_IBM424_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM437.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM437.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM437.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM437.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "IBM437.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_IBM437_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM500.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM500.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM500.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM500.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "IBM500.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_IBM500_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM775.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM775.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM775.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM775.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "IBM775.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_IBM775_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM850.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM850.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM850.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM850.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "IBM850.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_IBM850_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM852.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM852.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM852.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM852.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "IBM852.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_IBM852_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM855.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM855.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM855.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM855.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "IBM855.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_IBM855_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM857.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM857.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM857.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM857.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "IBM857.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_IBM857_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM860.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM860.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM860.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM860.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "IBM860.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_IBM860_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM861.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM861.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM861.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM861.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "IBM861.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_IBM861_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM862.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM862.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM862.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM862.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "IBM862.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_IBM862_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM863.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM863.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM863.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM863.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "IBM863.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_IBM863_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM864.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM864.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM864.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM864.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "IBM864.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_IBM864_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM865.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM865.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM865.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM865.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "IBM865.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_IBM865_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM868.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM868.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM868.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM868.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "IBM868.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_IBM868_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM869.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM869.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM869.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM869.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "IBM869.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_IBM869_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM870.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM870.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM870.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM870.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "IBM870.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_IBM870_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM871.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM871.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM871.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM871.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "IBM871.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_IBM871_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM918.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM918.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM918.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM918.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "IBM918.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_IBM918_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM_Thai.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM_Thai.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM_Thai.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/IBM_Thai.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "IBM_Thai.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_IBM_1Thai_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/ISO_8859_3.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/ISO_8859_3.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/ISO_8859_3.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/ISO_8859_3.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "ISO_8859_3.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_ISO_18859_13_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/ISO_8859_6.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/ISO_8859_6.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/ISO_8859_6.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/ISO_8859_6.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "ISO_8859_6.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_ISO_18859_16_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/ISO_8859_8.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/ISO_8859_8.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/ISO_8859_8.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/ISO_8859_8.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "ISO_8859_8.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_ISO_18859_18_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/JIS_X0201.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/JIS_X0201.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/JIS_X0201.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/JIS_X0201.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "JIS_X0201.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_JIS_1X0201_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/TIS_620.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/TIS_620.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/TIS_620.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/TIS_620.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "TIS_620.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_TIS_1620_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/windows_1255.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/windows_1255.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/windows_1255.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/windows_1255.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "windows_1255.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_windows_11255_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/windows_1256.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/windows_1256.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/windows_1256.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/windows_1256.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "windows_1256.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_windows_11256_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/windows_31j.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/windows_31j.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/windows_31j.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/windows_31j.c Sat Jun 28 01:57:22 2008
@@ -16,7 +16,7 @@
  */
 
 #include "windows_31j.h"
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
         static const int decodeIndex[] = {
          0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM1006.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM1006.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM1006.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM1006.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "x_IBM1006.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_x_1IBM1006_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM1025.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM1025.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM1025.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM1025.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "x_IBM1025.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_x_1IBM1025_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM1097.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM1097.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM1097.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM1097.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "x_IBM1097.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_x_1IBM1097_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM1098.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM1098.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM1098.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM1098.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "x_IBM1098.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_x_1IBM1098_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM1112.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM1112.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM1112.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM1112.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "x_IBM1112.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_x_1IBM1112_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM1122.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM1122.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM1122.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM1122.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "x_IBM1122.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_x_1IBM1122_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM1123.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM1123.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM1123.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM1123.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "x_IBM1123.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_x_1IBM1123_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM1124.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM1124.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM1124.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM1124.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "x_IBM1124.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_x_1IBM1124_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM737.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM737.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM737.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM737.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "x_IBM737.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_x_1IBM737_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM856.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM856.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM856.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM856.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "x_IBM856.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_x_1IBM856_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM874.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM874.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM874.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM874.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "x_IBM874.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_x_1IBM874_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM875.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM875.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM875.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM875.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "x_IBM875.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_x_1IBM875_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM922.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM922.c?rev=672480&r1=672479&r2=672480&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM922.c (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/shared/additional/x_IBM922.c Sat Jun 28 01:57:22 2008
@@ -17,7 +17,7 @@
 
 #include "x_IBM922.h"
 
-#define jlong2addr(a, x) ((a *)((int)(x)))
+#include "hycomp.h"
 
 JNIEXPORT void JNICALL Java_org_apache_harmony_niochar_charset_additional_x_1IBM922_00024Encoder_nEncode
   (JNIEnv *env, jobject obj, jlong outAddr, jint absolutePos, jcharArray array, jint arrayOffset, jintArray result){



Mime
View raw message