make SWI-Prolog get YAP stuff from include/Yap at run-time.

This commit is contained in:
Vítor Manuel de Morais Santos Costa
2010-01-15 14:39:03 +00:00
parent 44a418bd04
commit ffdf270a3d
7 changed files with 12 additions and 7 deletions

View File

@@ -18,8 +18,13 @@ extern "C" {
#endif
//=== includes ===============================================================
#include "config.h"
#ifdef _YAP_NOT_INSTALLED_
#include <config.h>
#include <YapInterface.h>
#else
#include <Yap/config.h>
#include <Yap/YapInterface.h>
#endif
#include <stdarg.h>
#include <stdlib.h>
#include <stddef.h>