]> git.proxmox.com Git - mirror_ovs.git/commit
Fix C++ build issue when static_assert() is not available
authorYi-Hung Wei <yihung.wei@gmail.com>
Tue, 12 Sep 2017 22:43:03 +0000 (15:43 -0700)
committerBen Pfaff <blp@ovn.org>
Wed, 13 Sep 2017 20:30:53 +0000 (13:30 -0700)
commit5e8bed8373ddacf34262e080a7570074a67b4e4b
tree32e18183329f67067abc405968ec41347a4dce2c
parent4a0a2c24a46acd2c96707d87811b6cf19f29f071
Fix C++ build issue when static_assert() is not available

This patch prevents compile errors if the C++ compiler does not support
C++11 or the support is not enabled.

VMWare-BZ: #1953215
Fixes: 994bfc298502 ("Automatically verify that OVS header files work OK in C++ also.")
Signed-off-by: Yi-Hung Wei <yihung.wei@gmail.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
include/openflow/openflow-common.h
include/openvswitch/compiler.h