Skip to content

Commit 9a129cc

Browse files
committed
fix windows build
1 parent cfc8bdc commit 9a129cc

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/core/pal/rtree.hpp

+4-1
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,11 @@
1717
#include <config.h>
1818
#endif
1919

20+
#ifdef _MSC_VER
21+
#ifndef _CRT_SECURE_NO_DEPRECATE
2022
#define _CRT_SECURE_NO_DEPRECATE
21-
23+
#endif
24+
#endif
2225

2326
#ifndef RTREE_H
2427
#define RTREE_H

src/gui/symbology-ng/qgsrulebasedrendererv2widget.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Tree model for the rules:
3232
+--- top level rule
3333
+--- top level rule
3434
*/
35-
class QgsRuleBasedRendererV2Model : public QAbstractItemModel
35+
class GUI_EXPORT QgsRuleBasedRendererV2Model : public QAbstractItemModel
3636
{
3737
public:
3838
QgsRuleBasedRendererV2Model( QgsRuleBasedRendererV2* r );

0 commit comments

Comments
 (0)