Explorar el Código

Update main.cpp

blueloveTH hace 1 año
padre
commit
6863f63a8f
Se han modificado 1 ficheros con 6 adiciones y 1 borrados
  1. 6 1
      src2/main.cpp

+ 6 - 1
src2/main.cpp

@@ -3,7 +3,12 @@
 #include <iostream>
 #include <sstream>
 
-#include "pocketpy_c.h"
+#if __has_include("pocketpy_c.h")
+    #include "pocketpy_c.h"
+#else
+    // for amalgamated build
+    #include "pocketpy.h"
+#endif
 
 #ifdef _WIN32