diff options
Diffstat (limited to 'test/android/32or64.c')
-rw-r--r-- | test/android/32or64.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/android/32or64.c b/test/android/32or64.c new file mode 100644 index 00000000..3ea81692 --- /dev/null +++ b/test/android/32or64.c @@ -0,0 +1,13 @@ +/* Copyright (c) 2014 Google Inc. All rights reserved. + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + +const char* getString() +{ +#ifdef __LP64__ + return "Hello, 64-bit world!\n"; +#else + return "Hello, 32-bit world!\n"; +#endif +} |