X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fscreenhack.h;h=4236e8d4b05f6e63ff247bd1acfc2c39f2ea84f1;hb=e4fa2ac140f7bc56571373a7b7eb585fa4500e38;hp=63222520c25bfa7ae193c7ec7b3db78d38e00a73;hpb=f65151994eba80ecabcdac6eef6fa0dde7e2d45b;p=xscreensaver diff --git a/hacks/screenhack.h b/hacks/screenhack.h index 63222520..4236e8d4 100644 --- a/hacks/screenhack.h +++ b/hacks/screenhack.h @@ -1,4 +1,4 @@ -/* xscreensaver, Copyright (c) 1992-1997 Jamie Zawinski +/* xscreensaver, Copyright (c) 1992-2002 Jamie Zawinski * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that @@ -97,4 +97,12 @@ extern void screenhack (Display*,Window); extern void screenhack_handle_event (Display*, XEvent*); extern void screenhack_handle_events (Display*); +/* Be Posixly correct */ +#undef bzero +#define bzero __ERROR_use_memset_not_bzero_in_xscreensaver__ +#undef bcopy +#define bcopy __ERROR_use_memcpy_not_bcopy_in_xscreensaver__ +#undef ftime +#define ftime __ERROR_use_gettimeofday_not_ftime_in_xscreensaver__ + #endif /* __SCREENHACK_H__ */