instead of BETA or not, have devel states of release, wip, beta
Now that development sources are made public prior to BETA testing, it is useful to have a work-in-progress state prior to BETA.
This commit is contained in:
@@ -101,7 +101,7 @@ int
|
||||
rn2(x)
|
||||
register int x;
|
||||
{
|
||||
#ifdef BETA
|
||||
#if (NH_DEVEL_STATUS != NH_STATUS_RELEASED)
|
||||
if (x <= 0) {
|
||||
impossible("rn2(%d) attempted", x);
|
||||
return 0;
|
||||
@@ -121,7 +121,7 @@ register int x;
|
||||
{
|
||||
register int i, adjustment;
|
||||
|
||||
#ifdef BETA
|
||||
#if (NH_DEVEL_STATUS != NH_STATUS_RELEASED)
|
||||
if (x <= 0) {
|
||||
impossible("rnl(%d) attempted", x);
|
||||
return 0;
|
||||
@@ -163,7 +163,7 @@ int
|
||||
rnd(x)
|
||||
register int x;
|
||||
{
|
||||
#ifdef BETA
|
||||
#if (NH_DEVEL_STATUS != NH_STATUS_RELEASED)
|
||||
if (x <= 0) {
|
||||
impossible("rnd(%d) attempted", x);
|
||||
return 1;
|
||||
@@ -180,7 +180,7 @@ register int n, x;
|
||||
{
|
||||
register int tmp = n;
|
||||
|
||||
#ifdef BETA
|
||||
#if (NH_DEVEL_STATUS != NH_STATUS_RELEASED)
|
||||
if (x < 0 || n < 0 || (x == 0 && n != 0)) {
|
||||
impossible("d(%d,%d) attempted", n, x);
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user