Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[pal] Remove useless HAVE_CONFIG_H includes
  • Loading branch information
nyalldawson committed Jun 29, 2015
1 parent 0b1d658 commit 5c88c75
Show file tree
Hide file tree
Showing 26 changed files with 0 additions and 106 deletions.
4 changes: 0 additions & 4 deletions src/core/pal/feature.cpp
Expand Up @@ -27,10 +27,6 @@
*
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#define _CRT_SECURE_NO_DEPRECATE


Expand Down
4 changes: 0 additions & 4 deletions src/core/pal/feature.h
Expand Up @@ -27,10 +27,6 @@
*
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#ifndef _FEATURE_H
#define _FEATURE_H

Expand Down
4 changes: 0 additions & 4 deletions src/core/pal/geomfunction.cpp
Expand Up @@ -27,10 +27,6 @@
*
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include "geomfunction.h"

//#include <pal/Layer.h>
Expand Down
4 changes: 0 additions & 4 deletions src/core/pal/geomfunction.h
Expand Up @@ -27,10 +27,6 @@
*
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#ifndef _GEOM_FUNCTION_
#define _GEOM_FUNCTION_

Expand Down
4 changes: 0 additions & 4 deletions src/core/pal/hashtable.hpp
Expand Up @@ -27,10 +27,6 @@
*
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#ifndef _HASHTABLE_HPP_
#define _HASHTABLE_HPP_

Expand Down
4 changes: 0 additions & 4 deletions src/core/pal/internalexception.h
Expand Up @@ -27,10 +27,6 @@
*
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#ifndef INTERNAL_EXCEPTION_H
#define INTERNAL_EXCEPTION_H

Expand Down
4 changes: 0 additions & 4 deletions src/core/pal/labelposition.cpp
Expand Up @@ -27,10 +27,6 @@
*
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#define _CRT_SECURE_NO_DEPRECATE

#include <iostream>
Expand Down
4 changes: 0 additions & 4 deletions src/core/pal/labelposition.h
Expand Up @@ -27,10 +27,6 @@
*
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#ifndef _LABELPOSITION_H
#define _LABELPOSITION_H

Expand Down
4 changes: 0 additions & 4 deletions src/core/pal/layer.cpp
Expand Up @@ -27,10 +27,6 @@
*
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#define _CRT_SECURE_NO_DEPRECATE

#include <stddef.h>
Expand Down
4 changes: 0 additions & 4 deletions src/core/pal/layer.h
Expand Up @@ -27,10 +27,6 @@
*
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#ifndef _LAYER_H_
#define _LAYER_H_

Expand Down
4 changes: 0 additions & 4 deletions src/core/pal/linkedlist.hpp
Expand Up @@ -27,10 +27,6 @@
*
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#ifndef _LINKED_LIST_H
#define _LINKED_LIST_H

Expand Down
4 changes: 0 additions & 4 deletions src/core/pal/pal.cpp
Expand Up @@ -27,10 +27,6 @@
*
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

//#define _VERBOSE_
//#define _EXPORT_MAP_
#include <QTime>
Expand Down
5 changes: 0 additions & 5 deletions src/core/pal/pal.h
Expand Up @@ -27,14 +27,9 @@
*
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#ifndef _PAL_H
#define _PAL_H


#include <QList>
#include <iostream>
#include <ctime>
Expand Down
4 changes: 0 additions & 4 deletions src/core/pal/palexception.h
Expand Up @@ -27,10 +27,6 @@
*
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#ifndef PAL_EXCEPTION_H
#define PAL_EXCEPTION_H

Expand Down
4 changes: 0 additions & 4 deletions src/core/pal/palstat.cpp
Expand Up @@ -27,10 +27,6 @@
*
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <iostream>
#include <pal/palstat.h>

Expand Down
4 changes: 0 additions & 4 deletions src/core/pal/palstat.h
Expand Up @@ -27,10 +27,6 @@
*
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#ifndef _PALSTAT_H_
#define _PALSTAT_H_

Expand Down
4 changes: 0 additions & 4 deletions src/core/pal/pointset.cpp
Expand Up @@ -34,10 +34,6 @@
#include <iostream>
#endif

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <qglobal.h>

#include "pointset.h"
Expand Down
4 changes: 0 additions & 4 deletions src/core/pal/pointset.h
Expand Up @@ -27,10 +27,6 @@
*
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#ifndef _POINTSET_H
#define _POINTSET_H

Expand Down
4 changes: 0 additions & 4 deletions src/core/pal/priorityqueue.cpp
Expand Up @@ -27,10 +27,6 @@
*
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <cstdio>

#include "internalexception.h"
Expand Down
4 changes: 0 additions & 4 deletions src/core/pal/priorityqueue.h
Expand Up @@ -27,10 +27,6 @@
*
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#ifndef _PRIORITYQUEUE_H
#define _PRIORITYQUEUE_H

Expand Down
4 changes: 0 additions & 4 deletions src/core/pal/problem.cpp
Expand Up @@ -27,10 +27,6 @@
*
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#define _CRT_SECURE_NO_DEPRECATE

#ifdef _EXPORT_MAP_
Expand Down
4 changes: 0 additions & 4 deletions src/core/pal/problem.h
Expand Up @@ -27,10 +27,6 @@
*
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#ifndef _PROBLEM_H
#define _PROBLEM_H

Expand Down
4 changes: 0 additions & 4 deletions src/core/pal/rtree.hpp
Expand Up @@ -14,10 +14,6 @@
* - 2008 Portability issues fixed by Maxence Laurent
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#ifdef _MSC_VER
#ifndef _CRT_SECURE_NO_DEPRECATE
#define _CRT_SECURE_NO_DEPRECATE
Expand Down
5 changes: 0 additions & 5 deletions src/core/pal/simplemutex.h
Expand Up @@ -30,11 +30,6 @@
#ifndef _SIMPLE_MUTEX_H_
#define _SIMPLE_MUTEX_H_


#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

// Platform dependent mutex
#ifdef _HAVE_PTHREAD_
#include <pthread.h>
Expand Down
4 changes: 0 additions & 4 deletions src/core/pal/util.cpp
Expand Up @@ -27,10 +27,6 @@
*
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <stddef.h>
#include <geos_c.h>

Expand Down
4 changes: 0 additions & 4 deletions src/core/pal/util.h
Expand Up @@ -27,10 +27,6 @@
*
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#ifndef _UTIL_H
#define _UTIL_H

Expand Down

0 comments on commit 5c88c75

Please sign in to comment.