Autopilot-CVS: onboard/rev2 memory.h,1.1,1.2
Status: Alpha
Brought to you by:
tramm
|
From: Trammell H. <tr...@us...> - 2003-02-27 05:03:38
|
Update of /cvsroot/autopilot/onboard/rev2 In directory sc8-pr-cvs1:/tmp/cvs-serv14399 Modified Files: memory.h Log Message: Added NEW_GCC define for avr-gcc 3.2 Index: memory.h =================================================================== RCS file: /cvsroot/autopilot/onboard/rev2/memory.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- memory.h 21 Oct 2002 23:30:39 -0000 1.1 +++ memory.h 27 Feb 2003 05:03:35 -0000 1.2 @@ -28,7 +28,12 @@ #ifndef _avr_memory_h_ #define _avr_memory_h_ -#include <progmem.h> /* For attributes */ +#ifdef NEW_GCC +#include <avr/pgmspace.h> /* For attributes */ +#else +#include <progmem.h> +#endif + #include <string.h> /* For memset etc */ /* |