mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-31 03:40:34 +05:00
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:
parent
e6147d048b
commit
7c430a9249
@ -42,8 +42,8 @@ LIB_CLIENT_IDL =
|
|||||||
LIB_SERVER_IDL =
|
LIB_SERVER_IDL =
|
||||||
|
|
||||||
# additionnal information to compil and link file
|
# additionnal information to compil and link file
|
||||||
CPPFLAGS += $(OCC_INCLUDES) $(KERNEL_CXXFLAGS)
|
CPPFLAGS += $(OCC_INCLUDES) $(KERNEL_CXXFLAGS) @PLATFORM_INCLUDES@
|
||||||
CXXFLAGS += $(OCC_CXXFLAGS) $(KERNEL_CXXFLAGS)
|
CXXFLAGS += $(OCC_CXXFLAGS) $(KERNEL_CXXFLAGS) @PLATFORM_INCLUDES@
|
||||||
|
|
||||||
LDFLAGS += $(FCLIBS)
|
LDFLAGS += $(FCLIBS)
|
||||||
|
|
||||||
|
@ -62,11 +62,19 @@ typedef char Nom[1+24];
|
|||||||
|
|
||||||
//le type N des nombres entiers positifs
|
//le type N des nombres entiers positifs
|
||||||
//=========
|
//=========
|
||||||
|
#ifndef PCLINUX64
|
||||||
typedef unsigned long int N;
|
typedef unsigned long int N;
|
||||||
|
#else
|
||||||
|
typedef unsigned int N;
|
||||||
|
#endif
|
||||||
|
|
||||||
//le type Z des nombres entiers relatifs
|
//le type Z des nombres entiers relatifs
|
||||||
//=========
|
//=========
|
||||||
|
#ifndef PCLINUX64
|
||||||
typedef long int Z;
|
typedef long int Z;
|
||||||
|
#else
|
||||||
|
typedef int Z;
|
||||||
|
#endif
|
||||||
|
|
||||||
//le type R des nombres "reels"
|
//le type R des nombres "reels"
|
||||||
//=========
|
//=========
|
||||||
|
@ -783,6 +783,7 @@ void qualitetrte_( R3 *mnpxyd,
|
|||||||
//un triangle occupe de plus
|
//un triangle occupe de plus
|
||||||
nbtria++;
|
nbtria++;
|
||||||
|
|
||||||
|
|
||||||
//le numero des 3 sommets du triangle nt
|
//le numero des 3 sommets du triangle nt
|
||||||
nusotr_( nt, mosoar, mnsoar, moartr, mnartr, nosotr );
|
nusotr_( nt, mosoar, mnsoar, moartr, mnartr, nosotr );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user