Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/util/util_path.cpp
| /* | /* | ||||
| * Copyright 2011-2013 Blender Foundation | * Copyright 2011-2013 Blender Foundation | ||||
| * | * | ||||
| * Licensed under the Apache License, Version 2.0 (the "License"); | * Licensed under the Apache License, Version 2.0 (the "License"); | ||||
| * you may not use this file except in compliance with the License. | * you may not use this file except in compliance with the License. | ||||
| * You may obtain a copy of the License at | * You may obtain a copy of the License at | ||||
| * | * | ||||
| * http://www.apache.org/licenses/LICENSE-2.0 | * http://www.apache.org/licenses/LICENSE-2.0 | ||||
| * | * | ||||
| * Unless required by applicable law or agreed to in writing, software | * Unless required by applicable law or agreed to in writing, software | ||||
| * distributed under the License is distributed on an "AS IS" BASIS, | * distributed under the License is distributed on an "AS IS" BASIS, | ||||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
| * See the License for the specific language governing permissions and | * See the License for the specific language governing permissions and | ||||
| * limitations under the License. | * limitations under the License. | ||||
| */ | */ | ||||
| #include "util_debug.h" | #include "util/util_debug.h" | ||||
| #include "util_md5.h" | #include "util/util_md5.h" | ||||
| #include "util_path.h" | #include "util/util_path.h" | ||||
| #include "util_string.h" | #include "util/util_string.h" | ||||
| #include <OpenImageIO/filesystem.h> | #include <OpenImageIO/filesystem.h> | ||||
| #include <OpenImageIO/strutil.h> | #include <OpenImageIO/strutil.h> | ||||
| #include <OpenImageIO/sysutil.h> | #include <OpenImageIO/sysutil.h> | ||||
| OIIO_NAMESPACE_USING | OIIO_NAMESPACE_USING | ||||
| #include <stdio.h> | #include <stdio.h> | ||||
| Show All 11 Lines | |||||
| # include <unistd.h> | # include <unistd.h> | ||||
| # include <sys/types.h> | # include <sys/types.h> | ||||
| #endif | #endif | ||||
| #ifdef HAVE_SHLWAPI_H | #ifdef HAVE_SHLWAPI_H | ||||
| # include <shlwapi.h> | # include <shlwapi.h> | ||||
| #endif | #endif | ||||
| #include "util_windows.h" | #include "util/util_windows.h" | ||||
| CCL_NAMESPACE_BEGIN | CCL_NAMESPACE_BEGIN | ||||
| #ifdef _WIN32 | #ifdef _WIN32 | ||||
| # if defined(_MSC_VER) || defined(__MINGW64__) | # if defined(_MSC_VER) || defined(__MINGW64__) | ||||
| typedef struct _stat64 path_stat_t; | typedef struct _stat64 path_stat_t; | ||||
| # elif defined(__MINGW32__) | # elif defined(__MINGW32__) | ||||
| typedef struct _stati64 path_stat_t; | typedef struct _stati64 path_stat_t; | ||||
| ▲ Show 20 Lines • Show All 802 Lines • Show Last 20 Lines | |||||