diff options
Diffstat (limited to 'ace/ACE.h')
-rw-r--r-- | ace/ACE.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/ace/ACE.h b/ace/ACE.h index 796dfea3142..ff2cf11f1b9 100644 --- a/ace/ACE.h +++ b/ace/ACE.h @@ -14,11 +14,12 @@ // // ============================================================================ +// This #include must come first to avoid recursive include problems. +#include "ace/OS.h" + #ifndef ACE_ACE_H #define ACE_ACE_H -#include "ace/OS.h" - #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ @@ -42,13 +43,11 @@ class ACE_Export ACE ACE_CLASS_IS_NAMESPACE (ACE); public: - // Initialize ACE library services. Can be called only once per - // program invocation. + // Initialize ACE library services. static int init (void); // Returns 0 on success, -1 on failure, and 1 if it had already been called. - // Shut down ACE library services. Can be called only once per - // program invocation. + // Shut down ACE library services. static int fini (void); // Returns 0 on success, -1 on failure, and 1 if it had already been called. @@ -444,7 +443,7 @@ public: static int get_temp_dir (char *buffer, size_t buffer_len); static int get_temp_dir (wchar_t *buffer, size_t buffer_len); - // Returns the temporary directory including the trailing slash in + // Returns the temporary directory including the trailing slash in // <buffer>. Returns -1 for an error or if the buffer_len is not // long enough. |