summaryrefslogtreecommitdiff
path: root/include/ruby/3/intern/select/posix.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby/3/intern/select/posix.h')
-rw-r--r--include/ruby/3/intern/select/posix.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/ruby/3/intern/select/posix.h b/include/ruby/3/intern/select/posix.h
index 83d93e99d9..156962c0bb 100644
--- a/include/ruby/3/intern/select/posix.h
+++ b/include/ruby/3/intern/select/posix.h
@@ -1,4 +1,6 @@
-/** \noop-*-C++-*-vi:ft=cpp
+#ifndef RUBY3_INTERN_SELECT_POSIX_H /*-*-C++-*-vi:se ft=cpp:*/
+#define RUBY3_INTERN_SELECT_POSIX_H
+/**
* @file
* @author Ruby developers <ruby-core@ruby-lang.org>
* @copyright This file is a part of the programming language Ruby.
@@ -18,8 +20,6 @@
* extension libraries. They could be written in C++98.
* @brief Public APIs to provide ::rb_fd_select().
*/
-#ifndef RUBY3_INTERN_SELECT_POSIX_H
-#define RUBY3_INTERN_SELECT_POSIX_H
#include "ruby/3/config.h"
#ifdef HAVE_SYS_SELECT_H