=================================================================== RCS file: /home/cvs/OpenXM/src/hgm/oxprint/oxprint.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -p -r1.5 -r1.6 --- OpenXM/src/hgm/oxprint/oxprint.h 2017/04/01 12:01:25 1.5 +++ OpenXM/src/hgm/oxprint/oxprint.h 2017/04/01 21:50:28 1.6 @@ -1,13 +1,8 @@ -#include -#include -#include -#include -#include -#define oxprintf(...) Rprintf(__VA_ARGS__) -#define oxprintfe(...) REprintf(__VA_ARGS__) -#define oxflush() -#define oxabort() error("Fatal error in the shared lib hgm.\n") -#define oxstdout NULL -#define oxstdin NULL -#define oxexit(a) error("Fatal error in the shared lib hgm.\n"); -#define oxexit0(a) error("Fatal error in the shared lib hgm.\n"); +#define oxprintf(...) printf(__VA_ARGS__) +#define oxprintfe(...) fprintf(stderr,__VA_ARGS__) +#define oxflush() fflush(NULL) +#define oxabort() abort() +#define oxstdout stdout +#define oxstdin stdin +#define oxexit(a) exit(a) +#define oxexit0(a) exit(a)