Question: When i compile my C++ solution in vs2010 x64 mode, i get the below compilation issue.
`Can not open include file 'sys/param.h' :No such file or directory.`

But the same compiles fine in Win32 mode. 

I am not sure how this header file is missing.Can any one help me on this?
I am using some of the client headers and this is the below code section that is present in the client file.  

`#ifndef WIN32  

 #include <sysipc.h>  

 #include <sys/param.h>  

 #endif`

Answer: 
The thing is that `$('#available:checked')` is a jQuery object - not a bool value. To get bool value you should do:

```
if ($(this).is(':checked')) {
    ...
}
else {
    ...
}

```
If you don't want to change your code a lot, you can simply add `.length`.

```
if ($('#available:checked').length) {
    //Do Something
}

```