Changeset de7394 in git


Ignore:
Timestamp:
May 2, 2006, 2:36:19 PM (17 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
a3760daadccc379bf459dd745428f182c6ba5dd4
Parents:
fc11f4583f0780c252a03d9b7079efbb0029dbce
Message:
*hannes: standard type BOOLEAN for 64bit is now int


git-svn-id: file:///usr/local/Singular/svn/trunk@9084 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/structs.h

    rfc11f45 rde7394  
    44*  Computer Algebra System SINGULAR     *
    55****************************************/
    6 /* $Id: structs.h,v 1.20 2006-02-28 11:10:42 bricken Exp $ */
     6/* $Id: structs.h,v 1.21 2006-05-02 12:36:19 Singular Exp $ */
    77/*
    88* ABSTRACT
     
    1212
    1313/* standard types */
    14 typedef unsigned char  uchar ;
     14typedef unsigned char  uchar;
    1515typedef unsigned short CARDINAL;
     16#if (SIZEOF_LONG == 8)
     17typedef int BOOLEAN;
     18/* testet on x86_64, gcc 3.4.6: 2 % */
     19/* testet on IA64, gcc 3.4.6: 1 % */
     20#else
     21/* testet on athlon, gcc 2.95.4: 1 % */
    1622typedef short BOOLEAN;
     23#endif
    1724
    1825typedef void * Sy_reference;
     
    573580extern "C" {
    574581#endif
    575 void  m2_end(short i);
     582void  m2_end(int i);
    576583#ifdef __cplusplus
    577584}
Note: See TracChangeset for help on using the changeset viewer.