Merge pull request #998 from jpabst0/fix_delimiter_compilation
fix variable name "delimiter"/compilation for win32
This commit is contained in:
commit
40bddd8d95
@ -734,7 +734,7 @@ void DisplaySettings::readEnvironmentalVariables()
|
|||||||
if (getEnvVar("OSG_KEYSTONE_FILES", value))
|
if (getEnvVar("OSG_KEYSTONE_FILES", value))
|
||||||
{
|
{
|
||||||
#if defined(_WIN32) && !defined(__CYGWIN__)
|
#if defined(_WIN32) && !defined(__CYGWIN__)
|
||||||
char delimitor = ';';
|
char delimiter = ';';
|
||||||
#else
|
#else
|
||||||
char delimiter = ':';
|
char delimiter = ':';
|
||||||
#endif
|
#endif
|
||||||
@ -798,7 +798,7 @@ void DisplaySettings::readEnvironmentalVariables()
|
|||||||
if (getEnvVar("OSG_SHADER_PIPELINE_FILES", value))
|
if (getEnvVar("OSG_SHADER_PIPELINE_FILES", value))
|
||||||
{
|
{
|
||||||
#if defined(_WIN32) && !defined(__CYGWIN__)
|
#if defined(_WIN32) && !defined(__CYGWIN__)
|
||||||
char delimitor = ';';
|
char delimiter = ';';
|
||||||
#else
|
#else
|
||||||
char delimiter = ':';
|
char delimiter = ':';
|
||||||
#endif
|
#endif
|
||||||
|
@ -275,7 +275,7 @@ bool osgDB::setCurrentWorkingDirectory( const std::string &newCurrentWorkingDire
|
|||||||
void osgDB::convertStringPathIntoFilePathList(const std::string& paths,FilePathList& filepath)
|
void osgDB::convertStringPathIntoFilePathList(const std::string& paths,FilePathList& filepath)
|
||||||
{
|
{
|
||||||
#if defined(_WIN32) && !defined(__CYGWIN__)
|
#if defined(_WIN32) && !defined(__CYGWIN__)
|
||||||
char delimitor = ';';
|
char delimiter = ';';
|
||||||
#else
|
#else
|
||||||
char delimiter = ':';
|
char delimiter = ':';
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user