diff dwt/internal/cocoa/NSInteger.d @ 11:a329f9c3d66d

Ported dwt.internal.cocoa.SWT* again
author Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com>
date Fri, 22 Aug 2008 15:39:51 +0200
parents 380af2bdd8e5
children 5b53d338c709
line wrap: on
line diff
--- a/dwt/internal/cocoa/NSInteger.d	Tue Aug 19 17:40:11 2008 +0200
+++ b/dwt/internal/cocoa/NSInteger.d	Fri Aug 22 15:39:51 2008 +0200
@@ -7,26 +7,8 @@
  */
 module dwt.internal.cocoa.NSInteger;
 
-version (X86_64) {
-    alias ulong NSUInteger;
-    alias long NSInteger;
-}
+import tango.stdc.config;
 
-else version (PPC64) {
-    alias ulong NSUInteger;
-    alias long NSInteger;
-}
 
-else version (X86) {
-    alias uint NSUInteger;
-    alias int NSInteger;
-}
-
-else version (PPC) {
-    alias uint NSUInteger;
-    alias int NSInteger;
-}
-
-else {
-    pragma(error, "Unsupported architecture");
-}
\ No newline at end of file
+alias c_long NSInteger;
+alias c_ulong NSUInteger;
\ No newline at end of file