Added the preprocessor directives that define type Z either as long int for 32bit platform or as int for Linux 64bit (Mandriva64)

This commit is contained in:
srn 2007-01-23 12:18:22 +00:00
parent e6147d048b
commit 7c430a9249
3 changed files with 11 additions and 2 deletions

View File

@ -42,8 +42,8 @@ LIB_CLIENT_IDL =
LIB_SERVER_IDL =
# additionnal information to compil and link file
CPPFLAGS += $(OCC_INCLUDES) $(KERNEL_CXXFLAGS)
CXXFLAGS += $(OCC_CXXFLAGS) $(KERNEL_CXXFLAGS)
CPPFLAGS += $(OCC_INCLUDES) $(KERNEL_CXXFLAGS) @PLATFORM_INCLUDES@
CXXFLAGS += $(OCC_CXXFLAGS) $(KERNEL_CXXFLAGS) @PLATFORM_INCLUDES@
LDFLAGS += $(FCLIBS)

View File

@ -62,11 +62,19 @@ typedef char Nom[1+24];
//le type N des nombres entiers positifs
//=========
#ifndef PCLINUX64
typedef unsigned long int N;
#else
typedef unsigned int N;
#endif
//le type Z des nombres entiers relatifs
//=========
#ifndef PCLINUX64
typedef long int Z;
#else
typedef int Z;
#endif
//le type R des nombres "reels"
//=========

View File

@ -783,6 +783,7 @@ void qualitetrte_( R3 *mnpxyd,
//un triangle occupe de plus
nbtria++;
//le numero des 3 sommets du triangle nt
nusotr_( nt, mosoar, mnsoar, moartr, mnartr, nosotr );