diff options
-rw-r--r-- | po/POTFILES.in | 2 | ||||
-rw-r--r-- | src/include/gnunet_common.h | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/po/POTFILES.in b/po/POTFILES.in index 385aa00c4..042b1efc5 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in | |||
@@ -424,6 +424,7 @@ src/testing/list-keys.c | |||
424 | src/testing/testing.c | 424 | src/testing/testing.c |
425 | src/testing/testing_api_cmd_batch.c | 425 | src/testing/testing_api_cmd_batch.c |
426 | src/testing/testing_api_cmd_block_until_all_peers_started.c | 426 | src/testing/testing_api_cmd_block_until_all_peers_started.c |
427 | src/testing/testing_api_cmd_block_until_external_trigger.c | ||
427 | src/testing/testing_api_cmd_hello_world.c | 428 | src/testing/testing_api_cmd_hello_world.c |
428 | src/testing/testing_api_cmd_hello_world_birth.c | 429 | src/testing/testing_api_cmd_hello_world_birth.c |
429 | src/testing/testing_api_cmd_local_test_finished.c | 430 | src/testing/testing_api_cmd_local_test_finished.c |
@@ -442,7 +443,6 @@ src/testing/testing_api_loop.c | |||
442 | src/testing/testing_api_trait_cmd.c | 443 | src/testing/testing_api_trait_cmd.c |
443 | src/testing/testing_api_trait_process.c | 444 | src/testing/testing_api_trait_process.c |
444 | src/testing/testing_api_traits.c | 445 | src/testing/testing_api_traits.c |
445 | src/testing/testing_json_vnet.c | ||
446 | src/topology/friends.c | 446 | src/topology/friends.c |
447 | src/topology/gnunet-daemon-topology.c | 447 | src/topology/gnunet-daemon-topology.c |
448 | src/transport/gnunet-communicator-tcp.c | 448 | src/transport/gnunet-communicator-tcp.c |
diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h index ca3ddceaa..4472d3ee8 100644 --- a/src/include/gnunet_common.h +++ b/src/include/gnunet_common.h | |||
@@ -151,10 +151,10 @@ enum GNUNET_GenericReturnValue | |||
151 | */ | 151 | */ |
152 | 152 | ||
153 | #if __BYTE_ORDER == __LITTLE_ENDIAN | 153 | #if __BYTE_ORDER == __LITTLE_ENDIAN |
154 | #if defined(__linux__) | 154 | #ifdef HAVE_BYTESWAP_H |
155 | #define BYTE_SWAP_16(x) __bswap_16 (x) | 155 | #define BYTE_SWAP_16(x) bswap_16 (x) |
156 | #define BYTE_SWAP_32(x) __bswap_32 (x) | 156 | #define BYTE_SWAP_32(x) bswap_32 (x) |
157 | #define BYTE_SWAP_64(x) __bswap_64 (x) | 157 | #define BYTE_SWAP_64(x) bswap_64 (x) |
158 | #else | 158 | #else |
159 | #define BYTE_SWAP_16(x) ((((x) & 0x00ff) << 8) | (((x) & 0xff00) >> 8)) | 159 | #define BYTE_SWAP_16(x) ((((x) & 0x00ff) << 8) | (((x) & 0xff00) >> 8)) |
160 | 160 | ||