vtkPlatform.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPlatform.h.in
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
15 #ifndef vtkPlatform_h
16 #define vtkPlatform_h
17 
18 /* Whether we require large files support. */
19 #define VTK_REQUIRE_LARGE_FILE_SUPPORT
20 
21 /* The maximum length of a file name in bytes including the
22  * terminating null.
23  */
24 #if defined(PATH_MAX) // Usually defined on Windows
25 # define VTK_MAXPATH PATH_MAX
26 #elif defined(MAXPATHLEN) // Usually defined on linux
27 # define VTK_MAXPATH MAXPATHLEN
28 #else
29 # define VTK_MAXPATH 32767 // Possible with Windows "extended paths"
30 #endif
31 
32 #endif