mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 14:05:33 +00:00
[master] Merged trac3870 (OPTIONAL macro guard)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2013 Internet Systems Consortium, Inc. ("ISC")
|
||||
// Copyright (C) 2013, 2015 Internet Systems Consortium, Inc. ("ISC")
|
||||
//
|
||||
// Permission to use, copy, modify, and/or distribute this software for any
|
||||
// purpose with or without fee is hereby granted, provided that the above
|
||||
@@ -22,6 +22,13 @@
|
||||
#include <stdint.h>
|
||||
#include <string>
|
||||
|
||||
// Undefine the macro OPTIONAL which is defined in some operating
|
||||
// systems but conflicts with class constant is the context base class.
|
||||
|
||||
#ifdef OPTIONAL
|
||||
#undef OPTIONAL
|
||||
#endif
|
||||
|
||||
namespace isc {
|
||||
namespace d2 {
|
||||
|
||||
|
@@ -33,6 +33,14 @@
|
||||
#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
|
||||
|
||||
namespace isc {
|
||||
namespace dhcp {
|
||||
|
||||
|
@@ -32,6 +32,14 @@
|
||||
#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
|
||||
|
||||
namespace isc {
|
||||
namespace dhcp {
|
||||
|
||||
|
Reference in New Issue
Block a user