Commit b6c9d826 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

abstract stdint.h for solaris. addresses #1789

git-svn-id: file:///svn/toku/tokudb@12569 c7de825b-a66e-492c-adef-691d508d4ae1
parent 0ec121b0
../linux/toku_stdint.h
\ No newline at end of file
......@@ -12,7 +12,7 @@
#include <sys/time.h>
#include <sys/resource.h>
#include <assert.h>
#include <toku_portability.h>
#include "toku_portability.h"
#include "toku_os.h"
#include <malloc.h>
......
#include <stdio.h>
#include <stdint.h>
#include <inttypes.h>
#include <toku_stdint.h>
#include <unistd.h>
#include <assert.h>
#include <string.h>
......
#include <stdio.h>
#include <stdint.h>
#include <toku_stdint.h>
#include <unistd.h>
#include <assert.h>
#include "toku_os.h"
......
......@@ -2,8 +2,7 @@
#include <stdlib.h>
#include <assert.h>
#include <string.h>
#include <stdint.h>
#include <inttypes.h>
#include <toku_stdint.h>
#include <toku_os.h>
const int nbuffers = 1000;
......
#include <stdio.h>
#include <stdint.h>
#include <toku_stdint.h>
#include <unistd.h>
#include <assert.h>
#include "toku_os.h"
......
#ifndef TOKU_STDINT_H
#define TOKU_STDINT_H
#include <stdint.h>
#include <inttypes.h>
#endif
......@@ -6,7 +6,7 @@
#ident "The technology is licensed by the Massachusetts Institute of Technology, Rutgers State University of New Jersey, and the Research Foundation of State University of New York at Stony Brook under United States of America Serial No. 11/760379 and to the patents and/or patent applications resulting from it."
// Portability first!
#include "stdint.h"
#include "toku_stdint.h"
#include <toku_portability.h>
#include "toku_os.h"
......
......@@ -12,7 +12,7 @@
#include <locktree.h>
#include <ydb-internal.h>
#include <brt-internal.h>
#include <stdint.h>
#include <toku_stdint.h>
/* TODO: Yoni should check that all asserts make sense instead of panic,
and all early returns make sense instead of panic,
......
......@@ -16,7 +16,7 @@
#include <errno.h>
#include <assert.h>
#include <stdlib.h>
#include <stdint.h>
#include <toku_stdint.h>
#include <string.h>
typedef toku_range *OMTVALUE;
#include "../../newbrt/omt.h"
......
......@@ -4,7 +4,7 @@
#include <string.h>
#include <stdlib.h>
#include <stdint.h>
#include <toku_stdint.h>
#include <stdio.h>
#include <db.h>
#include <assert.h>
......
#include <stdio.h>
#include <stdint.h>
#include <toku_stdint.h>
#include <toku_portability.h>
#include <db.h>
#include "ydb.h"
......
......@@ -26,8 +26,7 @@ extern "C" {
#define __attribute__(x) /* Nothing */
#endif
#include "stdint.h"
#include "inttypes.h"
#include "toku_stdint.h"
#ifndef TOKU_OFF_T_DEFINED
#define TOKU_OFF_T_DEFINED
......@@ -47,9 +46,7 @@ typedef int64_t toku_off_t;
#if defined(__ICC)
// Intel linux
#include <stdint.h>
#include <inttypes.h>
#include <toku_stdint.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/time.h>
......@@ -59,8 +56,7 @@ typedef int64_t toku_off_t;
#elif defined(__GNUC__)
// GCC linux
#include <stdint.h>
#include <inttypes.h>
#include <toku_stdint.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/time.h>
......
#ifndef TOKU_STDINT_H
#define TOKU_STDINT_H
#include <stdint.h>
#include <inttypes.h>
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment