Changeset 9497a50 in tol
- Timestamp:
- Dec 14, 2010, 3:50:22 PM (16 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 4e10a23
- Parents:
- c3ac31e
- File:
-
- 1 edited
-
tol/init.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tol/init.cpp
rc3ac31e r9497a50 906 906 static char aux_ [128]; 907 907 static bool init_ = false; 908 908 909 if(!init_) 909 910 { … … 1124 1125 "El camino del programa TOL que esta siendo ejecutado en este momento." 1125 1126 "Es util, por ejemplo, para llamar a TOL usando el sistema operativo.")); 1126 #ifdef UNIX1127 #else1128 BText binPath = GetFilePath(_tolSessionPath_);1129 _tolSdkPath_ = GetStandardAbsolutePath(binPath+"../tol_sdk_win/");1130 #endif1131 tolSdkPath_ = new BSystemText("TOLSdkPath", _tolSdkPath_,1132 I2("The path of the TOL headers.",1133 "El camino de las cabeceras de TOL."));1134 1127 1135 1128 TOLHasBeenInitialized_ = true; … … 1161 1154 InitTOLFile(initTolPath.Name()); 1162 1155 } 1156 #ifdef UNIX 1157 // OJO: si tol se ejecuta desde el raiz del fuente entonces el 1158 // stdlib se asume relativo a ese sitio y entonces el include que se 1159 // forma aqui no es correcto. 1160 BText stdlibPath = GetFilePath( initTolPath.Name() ); 1161 _tolSdkPath_ = GetStandardAbsolutePath( stdlibPath + "../../../include/" ); 1162 #else 1163 BText binPath = GetFilePath( _tolSessionPath_ ); 1164 _tolSdkPath_ = GetStandardAbsolutePath( binPath+"../tol_sdk_win/" ); 1165 #endif 1166 tolSdkPath_ = new BSystemText("TOLSDKPath", _tolSdkPath_, 1167 I2("The path of the TOL headers.", 1168 "El camino de las cabeceras de TOL.")); 1163 1169 } 1164 1170
Note: See TracChangeset
for help on using the changeset viewer.
