summaryrefslogtreecommitdiff
path: root/ace/OS.h
diff options
context:
space:
mode:
authoralex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-03-25 07:03:30 +0000
committeralex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-03-25 07:03:30 +0000
commit815320a6f93363d8e7bc78c7b96a556fbcd19fd4 (patch)
tree5e2dfe8a05eaf68c88525aaf5469f1f91fe26cc8 /ace/OS.h
parent03c26758ca1acafd4d2ca0a303eb9c602d6e91ad (diff)
downloadATCD-815320a6f93363d8e7bc78c7b96a556fbcd19fd4.tar.gz
Added ACE_DEFAULT_TEMP_DIR_ENV to be "TEMP" for WIN32 and "TMP" for
Unix.
Diffstat (limited to 'ace/OS.h')
-rw-r--r--ace/OS.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/ace/OS.h b/ace/OS.h
index baa9e1c0c8d..49026e34524 100644
--- a/ace/OS.h
+++ b/ace/OS.h
@@ -827,6 +827,10 @@ typedef struct
# define ACE_DIRECTORY_SEPARATOR_STR_A "/"
# define ACE_DIRECTORY_SEPARATOR_CHAR_A '/'
+// Define the name of the environment variable that defines the temp
+// directory.
+# define ACE_DEFAULT_TEMP_DIR_ENV "TMP"
+
# define ACE_DLL_SUFFIX ".so"
# define ACE_DLL_PREFIX "lib"
# define ACE_LD_SEARCH_PATH "LD_LIBRARY_PATH"
@@ -2881,6 +2885,10 @@ typedef int (*ACE_SEH_EXCEPT_HANDLER)(void *);
# define ACE_DLL_SUFFIX ".dll"
# define ACE_DLL_PREFIX ""
+// Define the name of the environment variable that defines the temp
+// directory.
+# define ACE_DEFAULT_TEMP_DIR_ENV "TEMP"
+
// This will help until we figure out everything:
# define NFDBITS 32 /* only used in unused functions... */
// These two may be used for internal flags soon:
@@ -3128,6 +3136,10 @@ typedef char TCHAR;
# define ACE_DIRECTORY_SEPARATOR_STR_A "/"
# define ACE_DIRECTORY_SEPARATOR_CHAR_A '/'
+// Define the name of the environment variable that defines the temp
+// directory.
+# define ACE_DEFAULT_TEMP_DIR_ENV "TMP"
+
// We're some kind of UNIX...
# define ACE_PLATFORM_A "UNIX"
# define ACE_PLATFORM_EXE_SUFFIX_A ""
@@ -6961,7 +6973,7 @@ ACE_OS_CString (ASCII_STRING).wchar_rep ()
# else /* not _POSIX_RTSIG_MAX */
// POSIX-4 compilant system has to provide atleast 8 RT signals.
// @@ Make sure the platform does *not* define this constant with
- // some other name. If yes, use that instead of 8.(Alex)
+ // some other name. If yes, use that instead of 8.
# define ACE_RTSIG_MAX 8
# endif /* _POSIX_RTSIG_MAX */