Changeset 6cd10ac in mainline for uspace/lib/bithenge/include
- Timestamp:
- 2012-08-21T12:07:58Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- be1dcc26
- Parents:
- 2ee05261
- Location:
- uspace/lib/bithenge/include/bithenge
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/bithenge/include/bithenge/blob.h
r2ee05261 r6cd10ac 39 39 40 40 #include <sys/types.h> 41 #include <errno.h> 41 42 #include "tree.h" 42 43 -
uspace/lib/bithenge/include/bithenge/os.h
r2ee05261 r6cd10ac 1 1 /* 2 2 * Copyright (c) 2012 Sean Bartell 3 * Copyright (c) 2012 Vojtech Horky 3 4 * All rights reserved. 4 5 * … … 30 31 #define BITHENGE_OS_H_ 31 32 33 32 34 #ifdef __HELENOS__ 33 #include "helenos/os.h" 35 typedef int64_t bithenge_int_t; 36 #define BITHENGE_PRId PRId64 37 34 38 #else 35 #include "linux/os.h" 36 #endif 39 /* Assuming GNU/Linux system. */ 37 40 38 #i fdef BITHENGE_FAILURE_ENABLE39 #include "failure.h"40 # else41 static inline int bithenge_should_fail(void) 42 { 43 return 0; 44 } 41 #include <inttypes.h> 42 #include <stdbool.h> 43 #define BITHENGE_PRId PRIdMAX 44 typedef intmax_t bithenge_int_t; 45 typedef uint64_t aoff64_t; 46 #define EOK 0 47 45 48 #endif 46 49
Note:
See TracChangeset
for help on using the changeset viewer.