]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3870] Added a comment to explain the guard
authorFrancis Dupont <fdupont@isc.org>
Tue, 23 Jun 2015 17:42:03 +0000 (19:42 +0200)
committerFrancis Dupont <fdupont@isc.org>
Tue, 23 Jun 2015 17:42:03 +0000 (19:42 +0200)
src/bin/dhcp4/dhcp4_srv.h
src/bin/dhcp6/dhcp6_srv.h

index 835fe65b3f288572b1b36adbe9cf9c8d72abd927..8683f19a62f1149518b235aa2f8a5efa0fc6a6c2 100644 (file)
 #include <iostream>
 #include <queue>
 
+// Undefine the macro OPTIONAL which is defined in some operating
+// systems but conflicts with a member of the RequirementLevel enum in
+// the server class.
+
 #ifdef OPTIONAL
 #undef OPTIONAL
 #endif
index 7571f2b976534fa327c86bddef6055887d381d7b..63ad9ae22e9b354ee1ee4a73a5ce44065e48542c 100644 (file)
 #include <iostream>
 #include <queue>
 
+// Undefine the macro OPTIONAL which is defined in some operating
+// systems but conflicts with a member of the RequirementLevel enum in
+// the server class.
+
 #ifdef OPTIONAL
 #undef OPTIONAL
 #endif