~ubuntu-branches/ubuntu/vivid/emscripten/vivid-proposed

« back to all changes in this revision

Viewing changes to system/include/libcxx/support/win32/limits_win32.h

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2014-01-19 14:12:40 UTC
  • mfrom: (4.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20140119141240-nfiw0p8033oitpfz
Tags: 1.9.0~20140119~7dc8c2f-1
* New snapshot release (Closes: #733714)
* Provide sources for javascript and flash. Done in orig-tar.sh
  Available in third_party/websockify/include/web-socket-js/src/
  (Closes: #735903)

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
#define _LIBCPP_SUPPORT_WIN32_LIMITS_WIN32_H
13
13
 
14
14
#if !defined(_LIBCPP_MSVCRT)
15
 
#error "This header complements Microsoft's C Runtime library, and should not be included otherwise."
 
15
#error "This header complements the Microsoft C Runtime library, and should not be included otherwise."
16
16
#else
17
17
 
18
 
#ifndef NOMINMAX
19
 
#define NOMINMAX
20
 
#endif
21
 
#include <windows.h> // ymath.h works correctly
22
 
 
 
18
#include <limits.h> // CHAR_BIT
23
19
#include <float.h> // limit constants
24
20
 
 
21
#if ! defined(__clang__)
 
22
#define __CHAR_BIT__       CHAR_BIT
 
23
 
25
24
#define __FLT_MANT_DIG__   FLT_MANT_DIG
26
25
#define __FLT_DIG__        FLT_DIG
27
26
#define __FLT_RADIX__      FLT_RADIX
73
72
#define __builtin_nans(__dummy)  _Snan._Double
74
73
#define __builtin_nansf(__dummy) _FSnan._Float
75
74
#define __builtin_nansl(__dummy) _LSnan._Long_double
 
75
#endif // ! defined(__clang__)
76
76
 
77
77
#endif // _LIBCPP_MSVCRT
78
78