您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

12345678910111213141516171819202122
  1. /* Header to define new/delete operators as they aren't provided by avr-gcc by default
  2. Taken from http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=59453
  3. */
  4. #ifndef NEW_H
  5. #define NEW_H
  6. #include <stdlib.h>
  7. void * operator new(size_t size);
  8. void operator delete(void * ptr);
  9. __extension__ typedef int __guard __attribute__((mode (__DI__)));
  10. extern "C" int __cxa_guard_acquire(__guard *);
  11. extern "C" void __cxa_guard_release (__guard *);
  12. extern "C" void __cxa_guard_abort (__guard *);
  13. extern "C" void __cxa_pure_virtual(void);
  14. #endif