Home | History | Annotate | Download | only in src
      1 #if PLATFORM_WINDOWS || PLATFORM_MAC
      2 # define IDENTIFIER(n)  _##n
      3 #else /* Linux */
      4 # define IDENTIFIER(n)  n
      5 #endif
      6 
      7 .globl IDENTIFIER(lib1_function)
      8 IDENTIFIER(lib1_function):
      9 #if !defined(PLATFORM_ANDROID)
     10   movl $42, %eax
     11   ret
     12 #else /* Android (assuming ARM) */
     13   mov r0, #42
     14   bx lr
     15 #endif
     16