summaryrefslogtreecommitdiff
path: root/src/pal/inc/pal.h
diff options
context:
space:
mode:
authorMike McLaughlin <mikem@microsoft.com>2019-01-08 09:35:12 -0800
committerGitHub <noreply@github.com>2019-01-08 09:35:12 -0800
commitbd5ea1c46ca21631194610f88f2ba420e8982d5b (patch)
tree81c863053da53beb5059856e7710eb7a5ab1d60e /src/pal/inc/pal.h
parentd6bf5ed160e99b9a66087dcc8738f22a9a370121 (diff)
downloadcoreclr-bd5ea1c46ca21631194610f88f2ba420e8982d5b.tar.gz
coreclr-bd5ea1c46ca21631194610f88f2ba420e8982d5b.tar.bz2
coreclr-bd5ea1c46ca21631194610f88f2ba420e8982d5b.zip
Fix issue #20585 createdump explicitly uses /tmp. (#21866)
Changed to PAL's GetTempPathA to get the temp path.
Diffstat (limited to 'src/pal/inc/pal.h')
-rw-r--r--src/pal/inc/pal.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/pal/inc/pal.h b/src/pal/inc/pal.h
index 1621dcc4ad..d49cb13589 100644
--- a/src/pal/inc/pal.h
+++ b/src/pal/inc/pal.h
@@ -1103,6 +1103,14 @@ GetTempPathW(
IN DWORD nBufferLength,
OUT LPWSTR lpBuffer);
+PALIMPORT
+DWORD
+PALAPI
+GetTempPathA(
+ IN DWORD nBufferLength,
+ OUT LPSTR lpBuffer);
+
+
#ifdef UNICODE
#define GetTempPath GetTempPathW
#else