~ubuntu-branches/ubuntu/maverick/crossfire-client/maverick

« back to all changes in this revision

Viewing changes to common/client-types.h

  • Committer: Bazaar Package Importer
  • Author(s): Kari Pahula
  • Date: 2007-04-13 21:15:44 UTC
  • mfrom: (1.2.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20070413211544-vjo6zesj6g0wgmwf
Tags: 1.10.0-1
* New upstream release
* Install the README, README-dev and TODO files specific to the GTK2
  client to the corresponding package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 * static char *rcsid_client_types_h =
3
 
 *   "$Id: client-types.h,v 1.9 2005/09/21 13:04:59 qal21 Exp $";
 
3
 *   "$Id: client-types.h 4963 2006-09-21 05:50:22Z mwedel $";
4
4
 */
5
5
/*
6
6
    Crossfire client, a client program for the crossfire program.
76
76
#if SIZEOF_LONG == 8
77
77
typedef unsigned long       uint64;
78
78
typedef signed long         sint64;
 
79
#define FMT64               "ld"
 
80
#define FMT64U              "ld"
79
81
#elif SIZEOF_LONG_LONG == 8
80
82
typedef unsigned long long      uint64;
81
83
typedef signed long long        sint64;
 
84
#define FMT64               "lld"
 
85
#define FMT64U              "lld"
82
86
#else
83
87
#error do not know how to get a 64 bit value on this system.
84
88
#error correct and send mail to crossfire-devel on how to do this.
95
99
typedef signed __int16      sint16;
96
100
typedef unsigned char     uint8;
97
101
typedef signed char       sint8;
 
102
#define FMT64               "I64d"
 
103
#define FMT64U              "I64u"
98
104
 
99
105
#endif
100
106