Sha256: 3a8358c6e91f30e667a80ebf39b4da836e0f2670928a4601ae043a3a3d851fc2

Contents?: true

Size: 841 Bytes

Versions: 9

Compression:

Stored size: 841 Bytes

Contents

/*
     this file was suggested by Uffe Holst Jun05,2000
         to compile gocr using SAS/C under AmigaOS
         
                 uhc@post6.tele.dk
                 
    SAS/C propably does not support ANSI C++, therefore this changes
    
    I am a little bit confused about using declaration and
    macro definition of abs(). I think that should not be necessary.
    Tell me, if you have an Amiga and you can give answer
    to the following questions.
            
                 Joerg Schulenburg, see README for EMAIL-address
     
 */
 
#ifdef _AMIGA
#ifdef __SASC
#if 0
#include <string.h>	/* may be this can be removed ??? */  
#include <stdlib.h>	/* may be this can be removed ??? */
extern int abs(int);	/* may be this can be removed ??? */
#endif
#ifndef abs
#define abs(i) ((i) < 0 ? -(i) : (i))
#endif
#endif
#endif


Version data entries

9 entries across 9 versions & 3 rubygems

Version Path
entangledstate-isbn-1.4.1 src/gocr-0.48/src/amiga.h
gocr-ruby-0.0.2 ext/gocr/amiga.h
gocr-ruby-0.0.1 ext/gocr/amiga.h
isbn-2.0.4 src/gocr-0.48/src/amiga.h
isbn-2.0.3 src/gocr-0.48/src/amiga.h
isbn-2.0.2 src/gocr-0.48/src/amiga.h
isbn-2.0.1 src/gocr-0.48/src/amiga.h
isbn-2.0.0 src/gocr-0.48/src/amiga.h
isbn-1.4.1 src/gocr-0.48/src/amiga.h