Overview
Comment: | Clean up a few defines |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
d3fb77eb9c537e787affc97136e0c2d7 |
User & Date: | js on 2020-12-20 13:49:13 |
Other Links: | manifest | tags |
Context
2020-12-20
| ||
14:04 | Fix compilation for AmigaOS 4 check-in: a68265627e user: js tags: trunk | |
13:49 | Clean up a few defines check-in: d3fb77eb9c user: js tags: trunk | |
03:50 | runtime/linklib: Show errors with requester check-in: e9b359a922 user: js tags: trunk | |
Changes
Modified configure.ac from [3bbb9e4b54] to [4d3ef3b09a].
︙ | |||
735 736 737 738 739 740 741 | 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - + + | AC_C_BIGENDIAN([ AC_DEFINE(OF_BIG_ENDIAN, 1, [Whether we are big endian]) ]) AS_IF([test x"$ac_cv_c_bigendian" = x"universal"], [ AC_DEFINE(OF_UNIVERSAL, 1, [Whether we are building a universal binary]) ]) |
︙ | |||
841 842 843 844 845 846 847 | 813 814 815 816 817 818 819 820 821 822 823 824 825 826 | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | fp_endianess="universal" ]) AC_MSG_RESULT($fp_endianess) AS_IF([test x"$fp_endianess" = x"unknown"], [ AC_MSG_ERROR( [Floating point implementation does not conform to IEEE 754!])]) |
︙ |
Modified src/OFString+JSONParsing.m from [57caefd874] to [87dbebe87e].
︙ | |||
27 28 29 30 31 32 33 34 35 36 37 38 39 40 | 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | + + + + | #import "OFString+JSONParsing.h" #import "OFArray.h" #import "OFDictionary.h" #import "OFNumber.h" #import "OFNull.h" #import "OFInvalidJSONException.h" #ifndef INFINITY # define INFINITY __builtin_inf() #endif int _OFString_JSONParsing_reference; static id nextObject(const char **pointer, const char *stop, size_t *line, size_t depthLimit); static void |
︙ |
Modified src/OFString.m from [8c96d0cf6e] to [77195aa3b1].
︙ | |||
72 73 74 75 76 77 78 79 80 81 82 83 84 85 | 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 | + + + + | # define strtod __strtod #endif #ifdef OF_AMIGAOS_M68K /* libnix has strtod, but not strtof */ # define strtof strtod #endif #ifndef INFINITY # define INFINITY __builtin_inf() #endif static struct { Class isa; } placeholder; #if defined(HAVE_STRTOF_L) || defined(HAVE_STRTOD_L) static locale_t cLocale; |
︙ |
Modified src/objfw-defs.h.in from [4530c4317b] to [cb58f5fac1].
| 1 2 3 4 5 6 7 | - - - |
|
︙ | |||
44 45 46 47 48 49 50 | 41 42 43 44 45 46 47 | - - - - | #undef OF_HAVE___THREAD #undef OF_NINTENDO_3DS #undef OF_NINTENDO_DS #undef OF_NO_SHARED #undef OF_OBJFW_RUNTIME #undef OF_UNIVERSAL #undef OF_WII |
Modified tests/OFStringTests.m from [1ca0b0e0e8] to [bb912e724d].
︙ | |||
22 23 24 25 26 27 28 29 30 31 32 33 34 35 | 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | + + + + | #include <math.h> #import "TestsAppDelegate.h" #import "OFString.h" #import "OFMutableUTF8String.h" #import "OFUTF8String.h" #ifndef INFINITY # define INFINITY __builtin_inf() #endif static OFString *module = nil; static OFString *whitespace[] = { @" \r \t\n\t \tasd \t \t\t\r\n", @" \t\t \t\t \t \t" }; static of_unichar_t ucstr[] = { |
︙ |