summaryrefslogtreecommitdiff
path: root/src/win32/registryKey.h
diff options
context:
space:
mode:
authorMarkus Grüneis <gimpf@gimpf.org>2009-11-11 20:35:10 +0000
committerMarkus Grüneis <gimpf@gimpf.org>2009-11-11 20:35:10 +0000
commit7ca06c7c5a0ae4bb38a67948a03ad8585f925707 (patch)
tree3b6c04f5c3deb795f48d8419c7420e1820eacb59 /src/win32/registryKey.h
parentadded hidden ebuid-compat option to configure script (diff)
fixed header file include guards to be C++ compliant; now always use format ANYTUN_<filename>_INCLUDED
Diffstat (limited to 'src/win32/registryKey.h')
-rw-r--r--src/win32/registryKey.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/win32/registryKey.h b/src/win32/registryKey.h
index 734bfd6..6aceba0 100644
--- a/src/win32/registryKey.h
+++ b/src/win32/registryKey.h
@@ -29,6 +29,8 @@
* You should have received a copy of the GNU General Public License
* along with anytun. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef ANYTUN_win32_registryKey_h_INCLUDED
+#define ANYTUN_win32_registryKey_h_INCLUDED
#include <string.h>
#include <windows.h>
@@ -55,4 +57,6 @@ private:
HKEY key_;
bool opened_;
std::string name_;
-}; \ No newline at end of file
+};
+
+#endif