svn commit: r247752 - head/usr.bin/calendar/calendars

Eitan Adler eadler at FreeBSD.org
Mon Mar 4 02:21:04 UTC 2013


Author: eadler
Date: Mon Mar  4 02:21:03 2013
New Revision: 247752
URL: http://svnweb.freebsd.org/changeset/base/247752

Log:
  Due to calendar(1)'s abuse of the C preprocessor "unix" gets expanded to
  "1".  'Fix' this.
  
  PR:		bin/175790
  Submitted by:	ak
  Approved by:	cperciva (mentor)

Modified:
  head/usr.bin/calendar/calendars/calendar.birthday

Modified: head/usr.bin/calendar/calendars/calendar.birthday
==============================================================================
--- head/usr.bin/calendar/calendars/calendar.birthday	Mon Mar  4 02:19:55 2013	(r247751)
+++ head/usr.bin/calendar/calendars/calendar.birthday	Mon Mar  4 02:21:03 2013	(r247752)
@@ -6,6 +6,7 @@
 
 #ifndef _calendar_birthday_
 #define _calendar_birthday_
+#undef	unix
 
 01/01	J.D. Salinger born, 1919
 01/01	Paul Revere born in Boston, 1735


More information about the svn-src-all mailing list