patches/ORBit2-01-alignments.diff
author yippi
Mon, 27 Sep 2010 21:07:51 +0000
changeset 20108 51df67ca9307
parent 16088 22709214254d
permissions -rw-r--r--
I had these modules listed as being owned by me, but they are really owned by wangke, correcting.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16088
22709214254d 2009-07-22 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     1
diff -urN ORBit2-2.14.17/include/orbit/orbit-config.h.in ../../SUNWgnome-component-2.26.1.hacked/i386/ORBit2-2.14.17/include/orbit/orbit-config.h.in
22709214254d 2009-07-22 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     2
--- ORBit2-2.14.17/include/orbit/orbit-config.h.in	2008-08-31 15:04:42.000000000 +0100
22709214254d 2009-07-22 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     3
+++ ../../SUNWgnome-component-2.26.1.hacked/i386/ORBit2-2.14.17/include/orbit/orbit-config.h.in	2009-07-22 08:45:37.248848000 +0100
22709214254d 2009-07-22 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     4
@@ -14,6 +14,20 @@
22709214254d 2009-07-22 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     5
  * Alignment of CORBA types mapped to C.
22709214254d 2009-07-22 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     6
  * These have *nothing* to do with CDR alignment.
22709214254d 2009-07-22 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     7
  */
22709214254d 2009-07-22 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     8
+#if defined (__amd64) || defined(__sparcv9)
22709214254d 2009-07-22 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     9
+#define ORBIT_ALIGNOF_CORBA_OCTET        1
22709214254d 2009-07-22 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    10
+#define ORBIT_ALIGNOF_CORBA_BOOLEAN      1
22709214254d 2009-07-22 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    11
+#define ORBIT_ALIGNOF_CORBA_CHAR         1
22709214254d 2009-07-22 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    12
+#define ORBIT_ALIGNOF_CORBA_WCHAR        2
22709214254d 2009-07-22 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    13
+#define ORBIT_ALIGNOF_CORBA_SHORT        2
22709214254d 2009-07-22 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    14
+#define ORBIT_ALIGNOF_CORBA_LONG         4
22709214254d 2009-07-22 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    15
+#define ORBIT_ALIGNOF_CORBA_LONG_LONG    8
22709214254d 2009-07-22 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    16
+#define ORBIT_ALIGNOF_CORBA_FLOAT        4
22709214254d 2009-07-22 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    17
+#define ORBIT_ALIGNOF_CORBA_DOUBLE       8
22709214254d 2009-07-22 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    18
+#define ORBIT_ALIGNOF_CORBA_LONG_DOUBLE  8
22709214254d 2009-07-22 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    19
+#define ORBIT_ALIGNOF_CORBA_STRUCT       1
22709214254d 2009-07-22 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    20
+#define ORBIT_ALIGNOF_CORBA_POINTER      8
22709214254d 2009-07-22 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    21
+#else
22709214254d 2009-07-22 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    22
 #define ORBIT_ALIGNOF_CORBA_OCTET        @ORBIT_ALIGNOF_CORBA_OCTET@
22709214254d 2009-07-22 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    23
 #define ORBIT_ALIGNOF_CORBA_BOOLEAN      @ORBIT_ALIGNOF_CORBA_BOOLEAN@
22709214254d 2009-07-22 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    24
 #define ORBIT_ALIGNOF_CORBA_CHAR         @ORBIT_ALIGNOF_CORBA_CHAR@
22709214254d 2009-07-22 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    25
@@ -26,5 +40,6 @@
22709214254d 2009-07-22 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    26
 #define ORBIT_ALIGNOF_CORBA_LONG_DOUBLE  @ORBIT_ALIGNOF_CORBA_LONG_DOUBLE@
22709214254d 2009-07-22 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    27
 #define ORBIT_ALIGNOF_CORBA_STRUCT       @ORBIT_ALIGNOF_CORBA_STRUCT@
22709214254d 2009-07-22 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    28
 #define ORBIT_ALIGNOF_CORBA_POINTER      @ORBIT_ALIGNOF_CORBA_POINTER@
22709214254d 2009-07-22 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    29
+#endif
22709214254d 2009-07-22 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    30
 
22709214254d 2009-07-22 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    31
 #endif