Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit 4705261

Browse files
authored
Fix opencensus constant in config.w32 (#17)
* Fix opencensus constant in config.w32 * Add release notes for updated build with windows fix.
1 parent db6c507 commit 4705261

3 files changed

Lines changed: 25 additions & 8 deletions

File tree

ext/config.w32

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
ARG_ENABLE("opencensus", "opencensus support", "no");
55

6-
if (PHP_OPENCENSUS_TRACE != "no") {
6+
if (PHP_OPENCENSUS != "no") {
77
EXTENSION('opencensus', 'opencensus_trace.c opencensus_trace_context.c opencensus_trace_span.c');
8-
AC_DEFINE('HAVE_OPENCENSUS_TRACE', 1);
8+
AC_DEFINE('HAVE_OPENCENSUS', 1);
99
}

ext/package.xml

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,20 @@ This extension allows you to easily gather latency and other metadata by watchin
1212
<email>chingor@google.com</email>
1313
<active>yes</active>
1414
</lead>
15-
<date>2017-08-14</date>
16-
<time>16:47:07</time>
15+
<date>2017-08-15</date>
16+
<time>16:27:07</time>
1717
<version>
18-
<release>0.0.1</release>
19-
<api>0.0.1</api>
18+
<release>0.0.2</release>
19+
<api>0.0.2</api>
2020
</version>
2121
<stability>
2222
<release>devel</release>
2323
<api>devel</api>
2424
</stability>
2525
<license>Apache 2.0</license>
2626
<notes>
27-
- Initial release
27+
- Fix builds for 32-bit architecture (#15)
28+
- Fix windows builds (#17)
2829
</notes>
2930
<contents>
3031
<dir baseinstalldir="/" name="/">
@@ -106,5 +107,21 @@ This extension allows you to easily gather latency and other metadata by watchin
106107
First dev release
107108
</notes>
108109
</release>
110+
<release>
111+
<version>
112+
<release>0.0.2</release>
113+
<api>0.0.2</api>
114+
</version>
115+
<stability>
116+
<release>devel</release>
117+
<api>devel</api>
118+
</stability>
119+
<date>2017-08-15</date>
120+
<license>Apache 2.0</license>
121+
<notes>
122+
- Fix builds for 32-bit architecture (#15)
123+
- Fix windows builds (#17)
124+
</notes>
125+
</release>
109126
</changelog>
110127
</package>

ext/php_opencensus.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#include "php.h"
2525
#include "opencensus_trace.h"
2626

27-
#define PHP_OPENCENSUS_VERSION "0.0.1"
27+
#define PHP_OPENCENSUS_VERSION "0.0.2"
2828
#define PHP_OPENCENSUS_EXTNAME "opencensus"
2929

3030
#define PHP_OPENCENSUS_MAKE_STD_ZVAL(pzv) \

0 commit comments

Comments
 (0)