Commit 5d91f9c
authored
cpage_test.cxx: Fix build error caused by mismatching defines (#15)
The PageValidationBig() test uses #ifdef DEBUG and #ifndef RTM as if they
were interchangeable, but this is not so at least in the RelWithDebInfo
cmake configuration.
This currently causes the following errors in that configuration:
error C2065: 'fPreviouslySet': undeclared identifier
Fix this by consistently using #ifndef RTM, as it's already being used
in the other similar tests in cpage_test.cxx.
(Perhaps, the `RelWithDebInfo` configuration could use the same defines
as `Release`, but the code discrepancy seems to be worth fixing by itself.)1 parent da53c84 commit 5d91f9c
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
561 | 561 | | |
562 | 562 | | |
563 | 563 | | |
564 | | - | |
| 564 | + | |
565 | 565 | | |
566 | 566 | | |
567 | 567 | | |
568 | 568 | | |
569 | | - | |
| 569 | + | |
570 | 570 | | |
571 | 571 | | |
572 | 572 | | |
| |||
575 | 575 | | |
576 | 576 | | |
577 | 577 | | |
578 | | - | |
| 578 | + | |
579 | 579 | | |
580 | 580 | | |
581 | 581 | | |
582 | | - | |
| 582 | + | |
583 | 583 | | |
584 | 584 | | |
585 | 585 | | |
| |||
0 commit comments