summaryrefslogtreecommitdiff
path: root/src/pal/src/include/pal/map.hpp
diff options
context:
space:
mode:
authorLakshmi Priya Sekar <lasekar@microsoft.com>2015-10-06 18:19:32 -0700
committerLakshmi Priya Sekar <lasekar@microsoft.com>2015-10-18 23:53:19 -0700
commit01a7eb3df39e828c0c83980ff2d32bc49b3db73b (patch)
tree20b47f3003f0627c5d8d49df6c3066fbcba2ca2c /src/pal/src/include/pal/map.hpp
parent4da174fb0d41eaa64455855a0473d0d942e73834 (diff)
downloadcoreclr-01a7eb3df39e828c0c83980ff2d32bc49b3db73b.tar.gz
coreclr-01a7eb3df39e828c0c83980ff2d32bc49b3db73b.tar.bz2
coreclr-01a7eb3df39e828c0c83980ff2d32bc49b3db73b.zip
Use StackString in PAL file apis.
Diffstat (limited to 'src/pal/src/include/pal/map.hpp')
-rw-r--r--src/pal/src/include/pal/map.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pal/src/include/pal/map.hpp b/src/pal/src/include/pal/map.hpp
index 22812037c9..b3bfe39dcb 100644
--- a/src/pal/src/include/pal/map.hpp
+++ b/src/pal/src/include/pal/map.hpp
@@ -23,6 +23,7 @@ Abstract:
#define _PAL_MAP_H_
#include "corunix.hpp"
+#include <sys/param.h>
extern "C"
{
@@ -144,7 +145,7 @@ namespace CorUnix
class CFileMappingImmutableData
{
public:
- CHAR szFileName[MAX_LONGPATH + 1];
+ CHAR szFileName[MAXPATHLEN];
UINT MaxSize; // The max size of the file mapping object
DWORD flProtect; // Protection desired for the file view
BOOL bPALCreatedTempFile; // TRUE if it's a PAL created file