From: <pau...@us...> - 2012-07-03 09:56:26
|
Revision: 10712 http://octave.svn.sourceforge.net/octave/?rev=10712&view=rev Author: pauldreik Date: 2012-07-03 09:56:20 +0000 (Tue, 03 Jul 2012) Log Message: ----------- modifed the AF_LOCAL macro on win32 platforms, which was misspelled. Credit to Carlo de Falco for spotting it. Also, made it use the newer octave>3.2 variant of DEFUNX_DLD macro. windows users of older octave versions may not be able to see the function which is most likely not a big problem. Modified Paths: -------------- trunk/octave-forge/main/sockets/src/sockets.cc Modified: trunk/octave-forge/main/sockets/src/sockets.cc =================================================================== --- trunk/octave-forge/main/sockets/src/sockets.cc 2012-07-02 12:24:31 UTC (rev 10711) +++ trunk/octave-forge/main/sockets/src/sockets.cc 2012-07-03 09:56:20 UTC (rev 10712) @@ -240,8 +240,9 @@ // PKG_ADD: autoload ("AF_LOCAL", "sockets.oct"); DEFUN_DLD_SOCKET_CONSTANT(AF_LOCAL, "socket constant" ); #else -DEFUNX_DLD ( "AF_LOCAL", FAFL_OCAL, FSAF_LOCAL, args, nargout, "socket constant" ) -{ error( "AF_LOCAL address family not supported on this platform" ); return octave_value(); }; +DEFUNX_DLD ("AF_LOCAL", FAF_LOCAL, GAF_LOCAL, args, nargout, "(not supported)") +{ error( "AF_LOCAL address family not supported on this platform" ); + return octave_value(); }; #endif // PKG_ADD: autoload ("AF_INET", "sockets.oct"); DEFUN_DLD_SOCKET_CONSTANT(AF_INET, "socket constant" ); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |