Changeset 72f476b in git for misc


Ignore:
Timestamp:
Jun 9, 2010, 12:28:01 PM (14 years ago)
Author:
Mohamed Barakat <mohamed.barakat@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'c1c65551e4b3a0de0b13ddf30446f6e9569681b5')
Children:
c08834bf50b47d2b3cb0fead54ea4d7bdd59b433
Parents:
56abc3642a555178d4967c093c099b3244d33e84
git-author:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2010-06-09 12:28:01+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 11:55:05+01:00
Message:
renamed output -> reporter, moved part of reporter.h -> auxiliary.h
File:
1 edited

Legend:

Unmodified
Added
Removed
  • misc/aux.h

    r56abc3 r72f476b  
    22
    33/*******************************************************************
    4  *  File:    aux.h
     4 *  File:    auxiliary.h
    55 *  Purpose:
    66 *  Author: 
     
    1010
    1111// BOOLEAN
    12 // max, min?
    13 
    1412
    1513#ifndef _MISC_AUX_H
    1614#define _MISC_AUX_H
    1715
    18 #define TRUE 1
    19 #define FALSE 0
     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 % */
     22typedef short BOOLEAN;
     23#endif
     24
     25#ifndef FALSE
     26#define FALSE       0
     27#endif
     28
     29#ifndef TRUE
     30#define TRUE        1
     31#endif
    2032
    2133#ifndef NULL
    22 #define NULL        (0)
     34#define NULL        ((void *)(0))
    2335#endif
    2436
     
    3244typedef void* ADDRESS;
    3345
    34 #if (SIZEOF_LONG == 8)
    35 typedef int BOOLEAN;
    36 /* testet on x86_64, gcc 3.4.6: 2 % */
    37 /* testet on IA64, gcc 3.4.6: 1 % */
    38 #else
    39 /* testet on athlon, gcc 2.95.4: 1 % */
    40 typedef short BOOLEAN;
    41 #endif
    4246#define loop for(;;)
    4347
Note: See TracChangeset for help on using the changeset viewer.