Build fix

WaitForDebugger function was undefined.

Change-Id: I578e99638bddc40c56817cfc66ed5787f1cdc6e7
Reviewed-on: https://swiftshader-review.googlesource.com/8953
Reviewed-by: Alexis Hétu <sugoi@google.com>
Tested-by: Alexis Hétu <sugoi@google.com>
diff --git a/src/OpenGL/libEGL/main.cpp b/src/OpenGL/libEGL/main.cpp
index 1a98a52..77ec248 100644
--- a/src/OpenGL/libEGL/main.cpp
+++ b/src/OpenGL/libEGL/main.cpp
@@ -147,7 +147,7 @@
 	switch(reason)
 	{
 	case DLL_PROCESS_ATTACH:
-		#ifndef NDEBUG
+		#ifdef DEBUGGER_WAIT_DIALOG
 			WaitForDebugger(instance);
 		#endif
 		egl::attachProcess();