diff --git a/except.hpp b/except.hpp index 2a9744d4..0a9849c0 100644 --- a/except.hpp +++ b/except.hpp @@ -25,7 +25,6 @@ #include - namespace util { class input_error : public std::runtime_error { public: @@ -64,11 +63,12 @@ namespace util { static void throw_code (void); static void throw_code (int code); }; - +} #if defined(PLATFORM_WIN32) #include +namespace util { class win32_error : public std::runtime_error { public: DWORD id; @@ -79,7 +79,7 @@ namespace util { static void try_code (void); static void throw_code (void); }; -#endif } +#endif #endif