~reviczky/luatex/anonsvn

« back to all changes in this revision

Viewing changes to source/texk/web2c/luatexdir/luaffi/ffi.c

  • Committer: luigi
  • Date: 2017-02-16 19:01:33 UTC
  • Revision ID: svn-v4:0b2b3880-5936-4365-a048-eb17d2e5a6bf:trunk:6242
disabled ffi for PPC

Show diffs side-by-side

added added

removed removed

Lines of Context:
3398
3398
    lua_pushboolean(L, 1);
3399
3399
    lua_setfield(L, -2, "64bit");
3400
3400
#else
3401
 
#error
 
3401
# define UNSUPPORTED_ARCH /* error */
3402
3402
#endif
3403
3403
 
3404
3404
#if defined ARCH_X86 || defined ARCH_X64 || defined ARCH_ARM || defined ARCH_PPC64
3405
3405
    lua_pushboolean(L, 1);
3406
3406
    lua_setfield(L, -2, "le");
3407
3407
#else
3408
 
#error
 
3408
# define UNSUPPORTED_ARCH  /*error*/
3409
3409
#endif
3410
3410
 
3411
3411
#if defined ARCH_X86 || defined ARCH_X64 || defined ARCH_PPC64
3415
3415
    lua_pushboolean(L, 1);
3416
3416
    lua_setfield(L, -2, "softfp");
3417
3417
#else
3418
 
#error
 
3418
# define UNSUPPORTED_ARCH /*error*/
3419
3419
#endif
3420
3420
    lua_pop(L, 1); /* abi tbl */
3421
3421
 
3458
3458
#elif defined ARCH_PPC64
3459
3459
    lua_pushliteral(L, "ppc64");
3460
3460
#else
3461
 
# error
 
3461
# define UNSUPPORTED_ARCH /* error */
3462
3462
#endif
3463
3463
    lua_setfield(L, 1, "arch");
3464
3464