]> www.ginac.de Git - ginac.git/blobdiff - doc/examples/mystring.cpp
Build example programs to avoid breaking them on API changes
[ginac.git] / doc / examples / mystring.cpp
index 640f81eba84478e5a3d8a5b91d81edcf75a6b670..655fe825f93b7d5b3ffe96d8ed7252aeeb44b3c4 100644 (file)
@@ -4,9 +4,11 @@
 #include <iostream>
 #include <string>   
 #include <stdexcept>
-
+#ifdef IN_GINAC
+#include "ginac.h"
+#else
 #include <ginac/ginac.h>
-
+#endif
 using namespace std;
 using namespace GiNaC;