Skip to content

Avoid using identifiers reserved by C++ in header guards #940

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 31, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Release/include/cpprest/filestream.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
****/
#pragma once

#ifndef _CASA_FILE_STREAMS_H
#define _CASA_FILE_STREAMS_H
#ifndef CASA_FILE_STREAMS_H
#define CASA_FILE_STREAMS_H

#include "cpprest/details/fileio.h"
#include "cpprest/astreambuf.h"
Expand Down
4 changes: 2 additions & 2 deletions Release/include/cpprest/http_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
****/
#pragma once

#ifndef _CASA_HTTP_CLIENT_H
#define _CASA_HTTP_CLIENT_H
#ifndef CASA_HTTP_CLIENT_H
#define CASA_HTTP_CLIENT_H

#if defined (__cplusplus_winrt)
#if !defined(__WRL_NO_DEFAULT_LIB__)
Expand Down
4 changes: 2 additions & 2 deletions Release/include/cpprest/http_listener.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
****/
#pragma once

#ifndef _CASA_HTTP_LISTENER_H
#define _CASA_HTTP_LISTENER_H
#ifndef CASA_HTTP_LISTENER_H
#define CASA_HTTP_LISTENER_H

#include <limits>
#include <functional>
Expand Down
4 changes: 2 additions & 2 deletions Release/include/cpprest/json.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
****/
#pragma once

#ifndef _CASA_JSON_H
#define _CASA_JSON_H
#ifndef CASA_JSON_H
#define CASA_JSON_H

#include <memory>
#include <string>
Expand Down
4 changes: 2 additions & 2 deletions Release/include/cpprest/oauth1.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
****/
#pragma once

#ifndef _CASA_OAUTH1_H
#define _CASA_OAUTH1_H
#ifndef CASA_OAUTH1_H
#define CASA_OAUTH1_H

#include "cpprest/http_msg.h"
#include "cpprest/details/web_utilities.h"
Expand Down
4 changes: 2 additions & 2 deletions Release/include/cpprest/oauth2.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
****/
#pragma once

#ifndef _CASA_OAUTH2_H
#define _CASA_OAUTH2_H
#ifndef CASA_OAUTH2_H
#define CASA_OAUTH2_H

#include "cpprest/http_msg.h"
#include "cpprest/details/web_utilities.h"
Expand Down
4 changes: 2 additions & 2 deletions Release/include/cpprest/producerconsumerstream.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
****/
#pragma once

#ifndef _CASA_PRODUCER_CONSUMER_STREAMS_H
#define _CASA_PRODUCER_CONSUMER_STREAMS_H
#ifndef CASA_PRODUCER_CONSUMER_STREAMS_H
#define CASA_PRODUCER_CONSUMER_STREAMS_H

#include <vector>
#include <queue>
Expand Down
4 changes: 2 additions & 2 deletions Release/include/cpprest/rawptrstream.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
****/
#pragma once

#ifndef _CASA_RAWPTR_STREAMS_H
#define _CASA_RAWPTR_STREAMS_H
#ifndef CASA_RAWPTR_STREAMS_H
#define CASA_RAWPTR_STREAMS_H

#include <vector>
#include <queue>
Expand Down
4 changes: 2 additions & 2 deletions Release/include/cpprest/streams.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
****/
#pragma once

#ifndef _CASA_STREAMS_H
#define _CASA_STREAMS_H
#ifndef CASA_STREAMS_H
#define CASA_STREAMS_H

#include "cpprest/astreambuf.h"
#include <iosfwd>
Expand Down
4 changes: 2 additions & 2 deletions Release/include/cpprest/uri.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
****/
#pragma once

#ifndef _CASA_URI_H
#define _CASA_URI_H
#ifndef CASA_URI_H
#define CASA_URI_H

#include "cpprest/base_uri.h"
#include "cpprest/uri_builder.h"
Expand Down
4 changes: 2 additions & 2 deletions Release/include/cpprest/ws_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
****/
#pragma once

#ifndef _CASA_WS_CLIENT_H
#define _CASA_WS_CLIENT_H
#ifndef CASA_WS_CLIENT_H
#define CASA_WS_CLIENT_H

#include "cpprest/details/basic_types.h"

Expand Down