diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2000-04-03 19:48:13 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2000-04-03 19:48:13 +0000 |
commit | 361d845de0f06c1d52668c8df489ec8e4071a768 (patch) | |
tree | 8fee91c517cebbf8d196924550fd8aada4f08770 /nanoftp.c | |
parent | ec30341c5c9d88ff5f1c23908707aee83c287612 (diff) | |
download | libxml2-361d845de0f06c1d52668c8df489ec8e4071a768.tar.gz |
Work done on the plane, ready to release libxml2-2.0.0, Daniel
Diffstat (limited to 'nanoftp.c')
-rw-r--r-- | nanoftp.c | 15 |
1 files changed, 13 insertions, 2 deletions
@@ -11,7 +11,9 @@ #else #include "config.h" #endif +#include "xmlversion.h" +#ifdef LIBXML_FTP_ENABLED #include <stdio.h> #include <string.h> @@ -60,8 +62,8 @@ #include <strings.h> #endif -#include "xmlmemory.h" -#include "nanoftp.h" +#include <libxml/xmlmemory.h> +#include <libxml/nanoftp.h> /* #define DEBUG_FTP 1 */ #ifdef STANDALONE @@ -1815,3 +1817,12 @@ int main(int argc, char **argv) { exit(0); } #endif /* STANDALONE */ +#else /* !LIBXML_FTP_ENABLED */ +#ifdef STANDALONE +#include <stdio.h> +int main(int argc, char **argv) { + printf("%s : FTP support not compiled in\n", argv[0]); + return(0); +} +#endif /* STANDALONE */ +#endif /* LIBXML_FTP_ENABLED */ |