// Copyright 2009-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 #include "filename.h" #include "sysinfo.h" namespace embree { #ifdef __WIN32__ const char path_sep = '\\'; #else const char path_sep = '/'; #endif /*! create an empty filename */ FileName::FileName () {} /*! create a valid filename from a string */ FileName::FileName (const char* in) { filename = in; for (size_t i=0; i