add THOR to threads version.

This commit is contained in:
Vitor Santos Costa 2010-07-28 00:30:02 +01:00
parent 0a73dea9c0
commit 86af6ff3f6
3 changed files with 5 additions and 4 deletions

View File

@ -28,6 +28,9 @@
#if HAVE_STRING_H #if HAVE_STRING_H
#include <string.h> #include <string.h>
#endif #endif
#if THREADS
#include <opt.mavar.h>
#endif
#if !HAVE_STRNCAT #if !HAVE_STRNCAT
#define strncat(s0,s1,sz) strcat(s0,s1) #define strncat(s0,s1,sz) strcat(s0,s1)

View File

@ -14,7 +14,7 @@
*************************************************************************/ *************************************************************************/
#include "config.h" #include "config.h"
#if defined(ENV_COPY) || defined(TABLING) #if defined(ENV_COPY) || defined(TABLING) || defined(THREADS)
#include "opt.config.h" #include "opt.config.h"
#endif /* YAPOR || TABLING */ #endif /* YAPOR || TABLING */

View File

@ -488,14 +488,12 @@ static Int p_show_statistics_tabling(void) {
return (TRUE); return (TRUE);
} }
#endif /* TABLING */
static Int p_show_statistics_global_trie(void) { static Int p_show_statistics_global_trie(void) {
show_global_trie(SHOW_MODE_STATISTICS); show_global_trie(SHOW_MODE_STATISTICS);
return (TRUE); return (TRUE);
} }
#endif /* TABLING */
/********************************* /*********************************