X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fincludes%2FStgTypes.h;h=ac2f78e27c0da63935185ed059f5a1b654449005;hb=2846bc8a8a6a02851dd62e2c04be358902eee204;hp=393cf276c6776257ed173bf185f95df535ffe7bc;hpb=3f4fd743381cce0b111d92246772f0be8938f7a7;p=ghc-hetmet.git diff --git a/ghc/includes/StgTypes.h b/ghc/includes/StgTypes.h index 393cf27..ac2f78e 100644 --- a/ghc/includes/StgTypes.h +++ b/ghc/includes/StgTypes.h @@ -48,7 +48,6 @@ typedef unsigned char StgWord8; typedef signed short StgInt16; typedef unsigned short StgWord16; - #if SIZEOF_UNSIGNED_INT == 4 typedef signed int StgInt32; typedef unsigned int StgWord32; @@ -115,6 +114,7 @@ typedef void StgVoid; typedef struct StgClosure_ StgClosure; typedef StgClosure* StgClosurePtr; typedef StgWord* StgPtr; /* pointer into closure */ +typedef StgWord volatile* StgVolatilePtr; /* pointer to volatile word */ typedef StgWord StgOffset; /* byte offset within closure */ typedef struct StgTSO_* StgTSOPtr;