summaryrefslogtreecommitdiff
path: root/ace/TTY_IO.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/TTY_IO.h')
-rw-r--r--ace/TTY_IO.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/ace/TTY_IO.h b/ace/TTY_IO.h
index 678f1ce0ff7..e1f334315b3 100644
--- a/ace/TTY_IO.h
+++ b/ace/TTY_IO.h
@@ -16,14 +16,18 @@
//
// ============================================================================
-#if !defined (ACE_TTY_H)
-#define ACE_TTY_H
+#if !defined (ACE_TTY_IO_H)
+#define ACE_TTY_IO_H
#include "ace/OS.h"
#include "ace/DEV_Addr.h"
#include "ace/DEV_Connector.h"
#include "ace/DEV_IO.h"
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+#pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
class ACE_Export ACE_TTY_IO : public ACE_DEV_IO
{
// = TITLE
@@ -64,4 +68,4 @@ public:
#endif /* ACE_NEEDS_DEV_IO_CONVERSION */
};
-#endif /* ACE_TTY_H */
+#endif /* ACE_TTY_IO_H */