Changeset 471

Show
Ignore:
Timestamp:
09/04/07 13:27:07 (1 year ago)
Author:
krobillard
Message:

Wait included in build only if 'net config option enabled.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/thune/eval.c

    r470 r471  
    16941694 
    16951695#include "encoding.c" 
     1696 
     1697#ifdef UR_CONFIG_NET 
     1698#include "net.c" 
    16961699#include "wait.c" 
     1700#endif 
    16971701 
    16981702#ifdef UR_CONFIG_DATAFLOW 
     
    17041708extern void uc_parse( UThread*, UCell* ); 
    17051709extern void uc_now( UThread*, UCell* ); 
    1706 #ifdef UR_CONFIG_NET 
    1707 extern void uc_net_addr( UThread*, UCell* ); 
    1708 #endif 
    17091710 
    17101711static UCallDef _evalCalls[] = 
     
    17291730    { uc_infuse,       "infuse" }, 
    17301731    { uc_now,          "now" }, 
    1731     { uc_wait,         "wait" }, 
    17321732    { uc_func,         "func" }, 
    17331733    { uc_recycle,      "recycle" }, 
     
    17381738    { uc_encodingQ,    "encoding?" }, 
    17391739#ifdef UR_CONFIG_NET 
     1740    { uc_wait,         "wait" }, 
    17401741    { uc_net_addr,     "net-addr" }, 
    17411742#endif 
  • trunk/thune/net.c

    r470 r471  
    1717    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    1818===========================================================================*/ 
    19  
    20 #ifdef UR_CONFIG_NET 
    2119 
    2220 
     
    9593 
    9694// (port hostname socket-port -- port) 
    97 UR_CALL_PUB( uc_net_addr ) 
     95UR_CALL( uc_net_addr ) 
    9896{ 
    9997    UBlock* blk; 
     
    456454 
    457455 
    458 #endif  // UR_CONFIG_NET 
     456/*EOF*/ 
  • trunk/thune/project.r

    r458 r471  
    6060        %stdio.c 
    6161        %files.c 
    62         %net.c 
    6362        %math.c 
    6463        %bignum.c