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

« back to all changes in this revision

Viewing changes to system/include/libcxx/__undef_min_max

  • 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:
9
9
//===----------------------------------------------------------------------===//
10
10
 
11
11
#ifdef min
 
12
#if defined(_MSC_VER) && ! defined(__clang__)
 
13
_LIBCPP_WARNING("macro min is incompatible with C++.  Try #define NOMINMAX "
 
14
                "before any Windows header. #undefing min")
 
15
#else
12
16
#warning: macro min is incompatible with C++.  #undefing min
 
17
#endif
13
18
#undef min
14
19
#endif
15
20
 
16
21
#ifdef max
 
22
#if defined(_MSC_VER) && ! defined(__clang__)
 
23
_LIBCPP_WARNING("macro max is incompatible with C++.  Try #define NOMINMAX "
 
24
                "before any Windows header. #undefing max")
 
25
#else
17
26
#warning: macro max is incompatible with C++.  #undefing max
 
27
#endif
18
28
#undef max
19
29
#endif