]> www.ginac.de Git - ginac.git/blobdiff - doc/examples/compile1.cpp
Build example programs to avoid breaking them on API changes
[ginac.git] / doc / examples / compile1.cpp
index b92dc766b3bb4501321fbbde208ff08569c31f63..69827251a13e1e1943fa784e60c0abe17a0f64b5 100644 (file)
@@ -1,7 +1,10 @@
 #include <ctime>
 #include <iostream>
+#ifdef IN_GINAC
+#include "ginac.h"
+#else
 #include <ginac/ginac.h>
-
+#endif
 using namespace std;
 using namespace GiNaC;