Commit 520df6dc authored by claes's avatar claes

Int64 and UInt64

parent eab62ae8
/* /*
* Proview $Id: pwr.h,v 1.25 2006-09-14 14:16:07 claes Exp $ * Proview $Id: pwr.h,v 1.26 2007-04-25 07:20:02 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -151,20 +151,27 @@ typedef int pwr_tInt32; //!< 32-bit integer type. ...@@ -151,20 +151,27 @@ typedef int pwr_tInt32; //!< 32-bit integer type.
/*_* /*_*
@aref int64 Int64 @aref int64 Int64
*/ */
#if defined OS_LINUX
typedef long long int pwr_tInt64;
#else
typedef struct { typedef struct {
unsigned int low; unsigned int low;
int high; int high;
} pwr_tInt64; } pwr_tInt64;
#endif
//! 64-bit unsigned integer type. //! 64-bit unsigned integer type.
/*_* /*_*
@aref uint64 UInt64 @aref uint64 UInt64
*/ */
#if defined OS_LINUX
typedef unsigned long long int pwr_tUInt64;
#else
typedef struct { typedef struct {
unsigned int low; unsigned int low;
unsigned int high; unsigned int high;
} pwr_tUInt64; } pwr_tUInt64;
#endif
/*_* /*_*
@aref uint8 UInt8 @aref uint8 UInt8
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment