瀏覽代碼

+ defined FPC_SUPPORTS_UNALIGNED if the compiler supports the
unaligned() expression

git-svn-id: trunk@7469 -

Jonas Maebe 18 年之前
父節點
當前提交
4919cecb3b
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      compiler/options.pas

+ 3 - 0
compiler/options.pas

@@ -2001,6 +2001,9 @@ begin
   def_system_macro('FPC_REAL2REAL_FIXED');
   def_system_macro('FPC_REAL2REAL_FIXED');
   def_system_macro('FPC_STRTOCHARARRAYPROC');
   def_system_macro('FPC_STRTOCHARARRAYPROC');
   def_system_macro('FPC_NEW_BIGENDIAN_SETS');
   def_system_macro('FPC_NEW_BIGENDIAN_SETS');
+{$ifdef SUPPORT_UNALIGNED}
+  def_system_macro('FPC_SUPPORTS_UNALIGNED');
+{$endif SUPPORT_UNALIGNED}
 
 
 {$if defined(x86) or defined(arm)}
 {$if defined(x86) or defined(arm)}
   def_system_macro('INTERNAL_BACKTRACE');
   def_system_macro('INTERNAL_BACKTRACE');