From 4ea3956fda7e0a7f2af848460b0d876038ddcf4e Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 7 Nov 2005 11:09:59 +0000 Subject: [PATCH] From Norman Vine, "Cygwin uses unix style path separators" --- src/osgDB/Registry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgDB/Registry.cpp b/src/osgDB/Registry.cpp index fceaf6638..18cd60c59 100644 --- a/src/osgDB/Registry.cpp +++ b/src/osgDB/Registry.cpp @@ -238,7 +238,7 @@ Registry::~Registry() closeAllLibraries(); } -#ifndef WIN32 +#if !defined(WIN32) || defined(__CYGWIN__) static osg::ApplicationUsageProxy Registry_e0(osg::ApplicationUsage::ENVIRONMENTAL_VARIABLE,"OSG_FILE_PATH [:path]..","Paths for locating datafiles"); #else static osg::ApplicationUsageProxy Registry_e0(osg::ApplicationUsage::ENVIRONMENTAL_VARIABLE,"OSG_FILE_PATH [;path]..","Paths for locating datafiles");