precompile.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. // Copyright (c) 2012 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. // This file is used as a precompiled header for both C and C++ files. So
  5. // any C++ headers must go in the __cplusplus block below.
  6. #if defined(BUILD_PRECOMPILE_H_)
  7. #error You shouldn't include the precompiled header file more than once.
  8. #endif
  9. #define BUILD_PRECOMPILE_H_
  10. #include <errno.h>
  11. #include <fcntl.h>
  12. #include <limits.h>
  13. #include <math.h>
  14. #include <memory.h>
  15. #include <signal.h>
  16. #include <stdarg.h>
  17. #include <stddef.h>
  18. #include <stdio.h>
  19. #include <stdlib.h>
  20. #include <string.h>
  21. #include <time.h>
  22. #if defined(__cplusplus)
  23. #include <algorithm>
  24. #include <bitset>
  25. #include <cmath>
  26. #include <cstddef>
  27. #include <cstdio>
  28. #include <cstdlib>
  29. #include <cstring>
  30. #include <fstream>
  31. #include <functional>
  32. #include <iomanip>
  33. #include <iosfwd>
  34. #include <iterator>
  35. #include <limits>
  36. #include <list>
  37. #include <map>
  38. #include <numeric>
  39. #include <ostream>
  40. #include <queue>
  41. #include <set>
  42. #include <sstream>
  43. #include <string>
  44. #include <utility>
  45. #include <vector>
  46. #endif // __cplusplus