/usr/include/scilab/scilabDefaults.h is in scilab-include 6.0.1-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | /*
* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
* Copyright (C) 2007 - INRIA - Sylvestre LEDRU
* Copyright (C) ENPC
*
* Copyright (C) 2012 - 2016 - Scilab Enterprises
*
* This file is hereby licensed under the terms of the GNU GPL v2.0,
* pursuant to article 5.3.4 of the CeCILL v.2.1.
* This file was originally licensed under the terms of the CeCILL v2.1,
* and continues to be available under such terms.
* For more information, see the COPYING file which you should have received
* along with this program.
*
*/
/*
* This file contains default paths for Scilab
*/
#ifndef __SCILABDEFAULT_H__
#define __SCILABDEFAULT_H__
/* Where is stored the history by default */
#define DEFAULT_HISTORY_FILE "history"
#ifdef _MSC_VER
#define ModelicacName "modelicac.exe"
#else
#define ModelicacName "modelicac"
#endif
/* Where the module list file is */
#define basenamemodulesfile "etc/modules.xml"
/* Where the classpath list file is */
#define XMLCLASSPATH "%s/etc/classpath.xml"
/* Where the library list file is */
#define XMLLIBRARYPATH "%s/etc/librarypath.xml"
/* Where the system properties are */
#define XMLSYSTEMPROPERTIES "%s/modules/jvm/etc/jvm-property.xml"
/* Where is the gateway file of a module */
#define FORMATGATEWAYFILENAME "%s/modules/%s/sci_gateway/%s_gateway.xml"
/* Where is the version file of a module */
#define FORMATVERSIONFILENAME "%s/modules/%s/version.xml"
/* Where is the Scilab startup script */
#define DEFAULTSCILABSTARTUP "SCI/etc/scilab.start"
/* What is the default Scilab StackSize ? */
#define DEFAULTSTACKSIZE 1000000
/* default Scilab global StackSize */
#if defined(_MSC_VER) && defined(_WIN64)
/* On Windows x64 initial global stacksize must be bigger :( */
#define DEFAULTGSTACKSIZE DEFAULTSTACKSIZE
#else
#define DEFAULTGSTACKSIZE 1000
#endif
//#define DefaultScilabQuit "SCI/etc/scilab.quit"
//static char DefaultSCIenv[]="../..";
#ifndef _MSC_VER
/* What is the variable to export for the language */
#define EXPORTENVLOCALE LC_MESSAGES
#else
/* MS VS (setlocale) doesn't know LC_MESSAGES */
/* http://msdn2.microsoft.com/en-us/library/x99tb11d(vs.71).aspx */
#define EXPORTENVLOCALE LC_CTYPE
#endif
#define EXPORTENVLOCALESTR L"LC_MESSAGES"
/* The portable locale. Should be english for numerical values */
#define LCNUMERICVALUE "C"
/* Name of the main localization domain */
#define NAMELOCALIZATIONDOMAIN "scilab"
/* Path the locale files */
#define PATHLOCALIZATIONFILE "/locale/"
#endif /*__SCILABDEFAULT_H__ */
|