1
0
mirror of https://github.com/elua/elua.git synced 2025-01-08 20:56:17 +08:00

fixed a build problem

This commit is contained in:
Bogdan Marinescu 2008-12-27 15:51:36 +00:00
parent 843bb3dd59
commit bb3d4466fb
2 changed files with 2 additions and 1 deletions

View File

@ -307,7 +307,7 @@ int _link_r( struct _reent *r, const char *c1, const char *c2 )
}
#include <sys/time.h>
#if ELUA_PLATFORM == AVR32
#ifdef AVR32
int _gettimeofday_r( struct _reent *r, struct timeval *tp, struct timezone *tzp )
#else
int _gettimeofday_r( struct _reent *r, struct timeval *tv, void *tz )

View File

@ -2,6 +2,7 @@
specific_files = "crt0.s trampoline.s platform.c exception.s intc.c pm.c flashc.c pm_conf_clocks.c usart.c gpio.c tc.c"
ldscript = "at32uc3a0512.ld"
cdefs = cdefs + " -DAVR32"
# Prepend with path
specific_files = " ".join( [ "src/platform/%s/%s" % ( platform, f ) for f in specific_files.split() ] )