*/
/*
- * GiNaC Copyright (C) 1999-2007 Johannes Gutenberg University Mainz, Germany
+ * GiNaC Copyright (C) 1999-2008 Johannes Gutenberg University Mainz, Germany
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
#include <string>
#include <vector>
+#ifdef HAVE_CONFIG_H
#include "config.h"
+#endif
#ifdef HAVE_LIBDL
#include <dlfcn.h>
{
if (filename.empty()) {
// fill filename with unique random word
- const char* filename_pattern = "GiNaCXXXXXX";
+ const char* filename_pattern = "./GiNaCXXXXXX";
char* new_filename = new char[strlen(filename_pattern)+1];
strcpy(new_filename, filename_pattern);
if (!mktemp(new_filename)) {
global_excompiler.unlink(filename);
}
-#elif // def HAVE_LIBDL
+#else // def HAVE_LIBDL
/*
* In case no working libdl has been found by configure, the following function