diff --git a/src/main.cc b/src/main.cc
index 9a9d5f2..dbb457c 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -35,9 +35,9 @@ This file is part of the PIXHAWK project
 
 
 /* SDL does ugly things to main() */
-//#ifdef main
-//#	undef main
-//#endif
+#ifdef main
+#	undef main
+#endif
 
 /**
  * @brief Starts the application