vtkPlatform.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
3 #ifndef vtkPlatform_h
4 #define vtkPlatform_h
5 
6 /* Whether we require large files support. */
7 #define VTK_REQUIRE_LARGE_FILE_SUPPORT
8 
9 /* The maximum length of a file name in bytes including the
10  * terminating null.
11  */
12 #if defined(PATH_MAX) // Usually defined on Windows
13 # define VTK_MAXPATH PATH_MAX
14 #elif defined(MAXPATHLEN) // Usually defined on linux
15 # define VTK_MAXPATH MAXPATHLEN
16 #else
17 # define VTK_MAXPATH 32767 // Possible with Windows "extended paths"
18 #endif
19 
20 #endif